My app works on device but the archive crashes on launch. Attaching my log here kindly take a look and help.
Need help with the crash log,
The presence of the Last Exception Backtrace section indicates that your app crashed due to an unhandled language exception. That section contains this:
1 libobjc.A.dylib … objc_exception_throw + 55
2 ShopmaticGo … 0x1008d0000 + 3924264
3 ShopmaticGo … 0x1008d0000 + 4434664
4 ShopmaticGo … 0x1008d0000 + 4437280
5 CoreFoundation … __invoking___ + 143
6 CoreFoundation … -[NSInvocation invoke] + 299
7 CoreFoundation … -[NSInvocation invokeWithTarget:] + 75
8 ShopmaticGo … 0x1008d0000 + 4120760
9 ShopmaticGo … 0x1008d0000 + 4129356
10 ShopmaticGo … 0x1008d0000 + 4128688
11 libdispatch.dylib … _dispatch_call_block_and_release + 23
Frame 11 is Dispatch calling a block. Frames 10 through 8 are your code, which eventually calls NSInvocation at frame 7. Frames 7 through 5 are NSInvocation infrastructure, which then calls back into your code at frame 4. Frames 4 through 2 are also your code, which then triggers the language exception.
To make progress on this you’ll need to symbolicate this log to find out what your code is doing at the time it throws that language exception. For more on the symbolication process, see Adding Identifiable Symbol Names to a Crash Report.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I looked at the log again and this is what i got... can you please look at it and let me know whats going wrong
Yay for symbols!
The last exception backtrace now looks like this:
0 CoreFoundation … __exceptionPreprocess + 216
1 libobjc.A.dylib … objc_exception_throw + 55
2 ShopmaticGo … RCTFatal + 3924264 (RCTAssert.m:145)
3 ShopmaticGo … -[RCTExceptionsManager reportFatal:stack:exceptionId:suppressRedBox:] + 4434664 (…
4 ShopmaticGo … -[RCTExceptionsManager reportException:] + 4437280 (RCTExceptionsManager.mm:145)
5 CoreFoundation … __invoking___ + 143
6 CoreFoundation … -[NSInvocation invoke] + 299
7 CoreFoundation … -[NSInvocation invokeWithTarget:] + 75
8 ShopmaticGo … -[RCTModuleMethod invokeWithBridge:module:arguments:] + 4120760 (RCTModuleMethod.…
9 ShopmaticGo … facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dyn…
10 ShopmaticGo … invocation function for block in facebook::react::RCTNativeModule::invoke(unsigne…
11 libdispatch.dylib … _dispatch_call_block_and_release + 23
12 libdispatch.dylib … _dispatch_client_callout + 15
13 libdispatch.dylib … _dispatch_lane_serial_drain$VARIANT$mp + 611
14 libdispatch.dylib … _dispatch_lane_invoke$VARIANT$mp + 423
15 libdispatch.dylib … _dispatch_workloop_worker_thread + 711
16 libsystem_pthread.dylib … _pthread_wqthread + 271
17 libsystem_pthread.dylib … start_wqthread + 7
This isn’t really my area of expertise but I believe that frame 4 indicates that your JavaScript code has thrown an exception of some form and this is your third-party environment reporting that.
I’ve no idea how to debug this beyond that; I recommend that you escalate this via the support channel for your third-party environment.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"