iOS应用程序崩溃[ParseCrashReporting enable]

时间:2015-06-08 06:44:13

标签: ios objective-c parse-platform crash

我今天已经从parse sdk 1.7.2 tO 1.7.4更新了我的应用程序,我的应用程序开始崩溃,我在applicationDidFinishLaunching中启用Parse崩溃报告:[ParseCrashReporting enable]

这是我的崩溃日志

  

*由于未捕获的异常'NSInvalidArgumentException'而终止应用程序,原因:'+ [Parse _isParseInitialized]:   无法识别的选择器发送到类0x109af8f70'   * 第一次抛出调用堆栈:(0 CoreFoundation 0x000000010dffbc65 exceptionPreprocess + 165 1 libobjc.A.dylib
  0x000000010d6a2bb7 objc_exception_throw + 45 2 CoreFoundation
  0x000000010e002fad + [NSObject(NSObject)doesNotRecognizeSelector:] +   205 3 CoreFoundation 0x000000010df5913c   ___ forwarding _
+ 988 4 CoreFoundation 0x000000010df58cd8 _CF_forwarding_prep_0 + 120 5 Statwack
  0x000000010992b144 + [ParseCrashReporting enable] + 52 6 Statwack
  0x00000001094c5738 - [AppDelegate   application:didFinishLaunchingWithOptions:] + 1816 7 UIKit
  0x000000010bce9788 - [UIApplication   _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 240 8 UIKit 0x000000010bcea397    - [UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2540 9 UIKit 0x000000010bced1de - [UIApplication   _runWithMainScene:transitionContext:completion:] + 1349 10 UIKit 0x000000010bcec0d5 - [UIApplication workspaceDidEndTransaction:] + 179     11 FrontBoardServices 0x000000010fc5e5e5    31- [FBSSerialQueue performAsync:] _ block_invoke_2 + 21 12 CoreFoundation 0x000000010df2f41c   __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12 13 CoreFoundation 0x000000010df25165 __CFRunLoopDoBlocks + 341 14 CoreFoundation
  0x000000010df24923 __CFRunLoopRun + 851 15 CoreFoundation
  0x000000010df24366 CFRunLoopRunSpecific + 470 16 UIKit
  0x000000010bcebb42 - [UIApplication _run] + 413 17 UIKit
  0x000000010bcee900 UIApplicationMain + 1282 18 Statwack
  0x00000001094c475f main + 111 19 libdyld.dylib
  0x000000010da1d145 start + 1)libc ++ abi.dylib:终止于   NSException类型的未捕获异常

1 个答案:

答案 0 :(得分:0)

将ParseCrashReporting.framework更新为与ParseSDK完全相同的版本通常会有所帮助。请参阅Parse CrashReporting Quickstart或在podfile中设置相同的版本。