使用不适用于Swift的pod进行Parse Crash Reporting导入

use*_*400 9 crash reporting parse-platform swift

我已经通过CocoaPods将Parse SDK更新为1.6.0.IT工作似乎我能够使用本地数据存储.但是,当我尝试启用ParseCrashReporting做ParseCrashReporting.enable()时

但Xcode没有找到ParseCrashReporting.

谁有同样的问题?

谢谢 !

Ant*_*aud 12

ParseCrashReporting有自己的cocoapod规范.确保添加pod 'ParseCrashReporting'到您的Podfile.然后导入标题为@Lucas指出.

参考:http://cocoapods.org/?q = scatcrashreporting


Luc*_*rah 7

我有同样的问题,你应该下载新的Parse sdk,它带有以下框架:

  • Bolts.framework
  • Parse.framework
  • ParseCrashReporting.framework
  • ParseFacebookUtils.framework
  • ParseUI.framework

为了工作,你应该将SQLite 3.framework和libstdc ++.6.dylib添加到你的项目中不要忘记添加你的Bridging-Header.h:

#import <ParseCrashReporting/ParseCrashReporting.h>
Run Code Online (Sandbox Code Playgroud)