Ios app crash at start with NSInvalidArgumentException
Closed this issue · 3 comments
Dorofeev commented
After adding this library to project as in sample, iOS app crashed at start
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FIRInstallationsItem registeredInstallationWithJSONData:date:error:]: unrecognized selector sent to instance 0x60000121fbc0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2043a126 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177f78 objc_exception_throw + 48
2 CoreFoundation 0x00007fff20448c6f +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3 CoreFoundation 0x00007fff2043e666 ___forwarding___ + 1489
4 CoreFoundation 0x00007fff20440698 _CF_forwarding_prep_0 + 120
5 MultiPlatformLibrary 0x000000010c1c1ea8 __84-[FIRInstallationsAPIService registeredInstallationWithInstallation:serverResponse:]_block_invoke + 240
6 FBLPromises 0x000000010a7c61a7 __38+[FBLPromise(DoAdditions) onQueue:do:]_block_invoke + 39
7 libdispatch.dylib 0x000000010deef8ac _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x000000010def0a88 _dispatch_client_callout + 8
9 libdispatch.dylib 0x000000010defeff3 _dispatch_main_queue_callback_4CF + 1360
10 CoreFoundation 0x00007fff203a8276 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11 CoreFoundation 0x00007fff203a2b06 __CFRunLoopRun + 2685
12 CoreFoundation 0x00007fff203a1b9e CFRunLoopRunSpecific + 567
13 GraphicsServices 0x00007fff2b773db3 GSEventRunModal + 139
14 UIKitCore 0x00007fff24660af3 -[UIApplication _run] + 912
15 UIKitCore 0x00007fff24665a04 UIApplicationMain + 101
16 Snow Tinder 0x000000010a0c2dc8 main + 56
17 libdyld.dylib 0x00007fff20257415 start + 1
)
Alex009 commented
@Dorofeev i think it's versions conflict...in project used version A (and it's headers) but in moko-crash-reporting used version B (statically linked) and we got that project think in lib exist some methods, but they not in static linked library
Alex009 commented
Alex009 commented
in 0.1.1 fixed. please read readme.md - now changed integration to iOS