Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 在xcode 4.3 beta版上为设备配置PLCrashReporter框架_Iphone_Ios_Plcrashreporter - Fatal编程技术网

Iphone 在xcode 4.3 beta版上为设备配置PLCrashReporter框架

Iphone 在xcode 4.3 beta版上为设备配置PLCrashReporter框架,iphone,ios,plcrashreporter,Iphone,Ios,Plcrashreporter,在这个链接的帮助下,我成功地编译并运行了用于ios模拟器的PLCrashReporter框架 但当我用libCrashReporter iphonesimulator.a替换libCrashReporter iphoneos.a以在设备上测试时,所有停止都无法在应用程序崩溃时工作 PLCrashReporter *crashReporter = [PLCrashReporter sharedReporter]; 线路 任何建议您不必更换静态库,而是使用lipo为模拟器和设备使用组合库。作为

在这个链接的帮助下,我成功地编译并运行了用于ios模拟器的PLCrashReporter框架

但当我用libCrashReporter iphonesimulator.a替换libCrashReporter iphoneos.a以在设备上测试时,所有停止都无法在应用程序崩溃时工作

 PLCrashReporter *crashReporter = [PLCrashReporter sharedReporter];
线路


任何建议

您不必更换静态库,而是使用
lipo
为模拟器和设备使用组合库。作为PLCrashReporter的一部分,Xcode项目可以为您完成这一切。另一方面,您可以使用PLCrashReporter网站上提供的预构建版本,或者其中包含一个预构建库,并在PLCrashReporter周围附加一个包装器,以安全地处理报告并将其提交到数据库(包括)或HockeyApp服务中