The build has been rejected multiple times from AppStoreConnect with always exactly the same reason
"The app crash on launch"
I've never reproduced the error. I've executed it in every available device and iOS version without success.
In addition, the crash logs that they provided me don't provide too much information.
I've tried to request more information about the environment in which they reproduced the error without success. One time, they said that the crash was in an iPad emulator, but the app works perfectly in every iPad version
Crashlogs unsymbolicated:
{"app_name":"xxxx","timestamp":"2019-06-20 09:30:05.87 -0700","app_version":"1.4.0","slice_uuid":"d381ff29-a1ec-32a6-af7d-6517137e579f","adam_id":1461455633,"build_version":"1.4.0","bundleID":"xxxx","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 12.2 (16E227)","incident_id":"A985F59F-C669-4A87-9857-4421D1CC164B","name":"xxxx"}
Incident Identifier: A985F59F-C669-4A87-9857-4421D1CC164B
CrashReporter Key: c71c23eb1e0011687094492985fef3cac2098667
Hardware Model: xxx
Process: xxxx [672]
Path: /private/var/containers/Bundle/Application/0D0670FD-B198-44C2-B537-88709A420EF6/xxxx.app/xxxx
Identifier: xxxx
Version: 1.4.0 (1.4.0)
AppStoreTools: 10G3
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: xxxx [627]
Date/Time: 2019-06-20 09:30:05.4321 -0700
Launch Time: 2019-06-20 09:30:03.6198 -0700
OS Version: iPhone OS 12.2 (16E227)
Baseband Version: n/a
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Last Exception Backtrace:
(0x236e2f518 0x23600a9f8 0x236d4cec0 0x237817a38 0x23778bf3c 0x100bde604 0x100be1054 0x100bddbb0 0x100bdd7fc 0x100bdd644 0x100c2d370 0x100c627b0 0x262f74020 0x262f75784 0x262f7af10 0x26283f104 0x26284769c 0x26283ed88 0x26283f678 0x26283d9c4 0x26283d68c 0x2628421cc 0x262842fb0 0x262842084 0x262846d84 0x262f79518 0x262b75f0c 0x2397a9d44 0x2397b3754 0x2397b2f5c 0x2368707d4 0x2368155d8 0x2397e40bc 0x2397e3d58 0x2397e4310 0x236dc12bc 0x236dc123c 0x236dc0b24 0x236dbba60 0x236dbb354 0x238fbb79c 0x262f7cb68 0x100ba15ac 0x2368818e0)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000002369cd0dc 0x2369aa000 + 143580
1 libsystem_pthread.dylib 0x0000000236a46094 0x236a44000 + 8340
2 libsystem_c.dylib 0x0000000236926ea8 0x2368cc000 + 372392
3 libc++abi.dylib 0x0000000235ff3788 0x235ff2000 + 6024
4 libc++abi.dylib 0x0000000235ff3934 0x235ff2000 + 6452
5 libobjc.A.dylib 0x000000023600ae00 0x236005000 + 24064
6 libc++abi.dylib 0x0000000235fff838 0x235ff2000 + 55352
7 libc++abi.dylib 0x0000000235fff8c4 0x235ff2000 + 55492
8 libdispatch.dylib 0x00000002368707e8 0x236810000 + 395240
9 libdispatch.dylib 0x00000002368155d8 0x236810000 + 21976
10 FrontBoardServices 0x00000002397e40bc 0x23979e000 + 286908
11 FrontBoardServices 0x00000002397e3d58 0x23979e000 + 286040
12 FrontBoardServices 0x00000002397e4310 0x23979e000 + 287504
13 CoreFoundation 0x0000000236dc12bc 0x236d17000 + 697020
14 CoreFoundation 0x0000000236dc123c 0x236d17000 + 696892
15 CoreFoundation 0x0000000236dc0b24 0x236d17000 + 695076
16 CoreFoundation 0x0000000236dbba60 0x236d17000 + 674400
17 CoreFoundation 0x0000000236dbb354 0x236d17000 + 672596
18 GraphicsServices 0x0000000238fbb79c 0x238fb1000 + 42908
19 UIKitCore 0x0000000262f7cb68 0x2626c2000 + 9153384
20 xxxx 0x0000000100ba15ac 0x100b58000 + 300460
21 libdyld.dylib 0x00000002368818e0 0x236880000 + 6368
Crashlogs Symbolicated:
{\rtf1\ansi\ansicpg1251\deff0\nouicompat\deflang1058{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Riched20 10.0.14393}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang9\{"app_name":"xxx","timestamp":"2019-06-14 18:12:40.57 -0700","app_version":"1.4.0","slice_uuid":"01ea8f0b-edba-3564-9913-ea253053aa82","adam_id":1461455633,"build_version":"1.3.0","bundleID":"xxx","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 12.2 (16E227)","incident_id":"D2C5D5A1-CE8E-4084-95D6-D9C238F08302","name":"xxx"\}\par
Incident Identifier: D2C5D5A1-CE8E-4084-95D6-D9C238F08302\par
CrashReporter Key: c71c23eb1e0011687094492985fef3cac2098667\par
Hardware Model: xxx\par
Process: xxx [19133]\par
Path: /private/var/containers/Bundle/Application/E8FEC5B1-B7BB-4927-A6EB-ECF1F4DC137C/xxx.app/xxx\par
Identifier: xxx\par
Version: 1.4.0 (1.4.0)\par
AppStoreTools: 10G3\par
Code Type: ARM-64 (Native)\par
Role: Non UI\par
Parent Process: launchd [1]\par
Coalition: xxx [7574]\par
\par
\par
Date/Time: 2019-06-14 18:12:39.9920 -0700\par
Launch Time: 2019-06-14 18:12:35.7129 -0700\par
OS Version: iPhone OS 12.2 (16E227)\par
Baseband Version: n/a\par
Report Version: 104\par
\par
Exception Type: EXC_CRASH (SIGABRT)\par
Exception Codes: 0x0000000000000000, 0x0000000000000000\par
Exception Note: EXC_CORPSE_NOTIFY\par
Triggered by Thread: 0\par
\par
Application Specific Information:\par
abort() called\par
\par
Last Exception Backtrace:\par
0 CoreFoundation 0x20cd5f518 0x20cc47000 + 1148184
1 libobjc.A.dylib 0x20bf3a9f8 0x20bf35000 + 23032
2 CoreFoundation 0x20cc7cec0 0x20cc47000 + 220864
3 Foundation 0x20d747a38 0x20d6b1000 + 617016
4 Foundation 0x20d6bbf3c 0x20d6b1000 + 44860
5 xxx 0x1002b50e8 -[DataCollector refreshSignal:] + 561384 (DataCollector.m:358)
6 xxx 0x1002b7b38 -[DataCollector backgroundListenerDataStateChanged:] + 572216 (DataCollector.m:800)
7 xxx 0x1002b4694 -[DataCollector updateReachability:] + 558740 (DataCollector.m:207)
8 xxx 0x1002b42e0 -[DataCollector refreshReachability] + 557792 (DataCollector.m:131)
9 xxx 0x1002b4128 -[DataCollector startCollector] + 557352 (DataCollector.m:108)
10 xxx 0x100308964 -[MccApi startBackgroundListener] + 903524 (MccApi.m:565)
11 xxx 0x10033fb24 -[AppDelegate application:didFinishLaunchingWithOptions:] + 1129252 (AppDelegate.m:392)
12 UIKitCore 0x238ea4020 0x2385f2000 + 9117728
13 UIKitCore 0x238ea5784 0x2385f2000 + 9123716
14 UIKitCore 0x238eaaf10 0x2385f2000 + 9146128
15 UIKitCore 0x23876f104 0x2385f2000 + 1560836
16 UIKitCore 0x23877769c 0x2385f2000 + 1595036
17 UIKitCore 0x23876ed88 0x2385f2000 + 1559944
18 UIKitCore 0x23876f678 0x2385f2000 + 1562232
19 UIKitCore 0x23876d9c4 0x2385f2000 + 1554884
20 UIKitCore 0x23876d68c 0x2385f2000 + 1554060
21 UIKitCore 0x2387721cc 0x2385f2000 + 1573324
22 UIKitCore 0x238772fb0 0x2385f2000 + 1576880
23 UIKitCore 0x238772084 0x2385f2000 + 1572996
24 UIKitCore 0x238776d84 0x2385f2000 + 1592708
25 UIKitCore 0x238ea9518 0x2385f2000 + 9139480
26 UIKitCore 0x238aa5f0c 0x2385f2000 + 4931340
27 FrontBoardServices 0x20f6d9d44 0x20f6ce000 + 48452
28 FrontBoardServices 0x20f6e3754 0x20f6ce000 + 87892
29 FrontBoardServices 0x20f6e2f5c 0x20f6ce000 + 85852
30 libdispatch.dylib 0x20c7a07d4 0x20c740000 + 395220
31 libdispatch.dylib 0x20c7455d8 0x20c740000 + 21976
32 FrontBoardServices 0x20f7140bc 0x20f6ce000 + 286908
33 FrontBoardServices 0x20f713d58 0x20f6ce000 + 286040
34 FrontBoardServices 0x20f714310 0x20f6ce000 + 287504
35 CoreFoundation 0x20ccf12bc 0x20cc47000 + 697020
36 CoreFoundation 0x20ccf123c 0x20cc47000 + 696892
37 CoreFoundation 0x20ccf0b24 0x20cc47000 + 695076
38 CoreFoundation 0x20cceba60 0x20cc47000 + 674400
39 CoreFoundation 0x20cceb354 0x20cc47000 + 672596
40 GraphicsServices 0x20eeeb79c 0x20eee1000 + 42908
41 UIKitCore 0x238eacb68 0x2385f2000 + 9153384
42 xxx 0x1002779f4 main + 309748 (main.m:15)
43 libdyld.dylib 0x20c7b18e0 0x20c7b0000 + 6368
I would like some feedback from you due to I literally don't have more ideas to resolve this situation.
It would be helpful if you would know the solution of the crash having in mind the logs but if you didn't I'm also listening to your next steps suggestions.
Related
My Xcode app has RevenueCat Purchases.configure(withAPIKey: "myApiKey") which runs fine in a device from Xcode. The same app crashes in TestFlight after 2 minutes even if left alone. I commented out Purchases.configure and it stopped crashing in TestFlight.
I need help.
2 Crash reports from my iPhone device:
Date/Time: 2022-06-29 13:51:48.0337 -0700
Launch Time: 2022-06-29 13:20:37.1510 -0700
OS Version: iPhone OS 15.5 (19F77)
Release Type: User
Baseband Version: 7.61.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x18151fd0c __exceptionPreprocess + 216
1 libobjc.A.dylib 0x198d10ee4 objc_exception_throw + 56
2 CoreFoundation 0x18161e740 -[NSInvocation
retainArguments].cold.1 + 0
3 CoreFoundation 0x181617398 __CFReallocationFailed + 116
4 CoreFoundation 0x1814be03c __CFSafelyReallocate + 68
5 Foundation 0x182bcbff0 _convertJSONString + 208
6 Foundation 0x182bd9318 _writeJSONString + 80
7 Foundation 0x182c4a3cc ___writeJSONObject_block_invoke + 384
8 CoreFoundation 0x1814ca988 NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK + 16
9 CoreFoundation 0x1814e14f4 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 208
10 Foundation 0x182bd0c38 _writeJSONObject + 468
11 Foundation 0x182c42978 -[_NSJSONWriter dataWithRootObject:options:] + 84
12 Foundation 0x182c11aa8 +[NSJSONSerialization dataWithJSONObject:options:error:] + 116
13 Purchases 0x1055ea8a0 0x1055d8000 + 75936
14 Purchases 0x1055e9584 0x1055d8000 + 71044
15 Purchases 0x1055e9478 0x1055d8000 + 70776
16 Purchases 0x1055e1540 0x1055d8000 + 38208
17 Purchases 0x1055fd680 0x1055d8000 + 153216
18 PurchasesCoreSwift 0x105646638 0x10562c000 + 108088
19 PurchasesCoreSwift 0x105645cc0 0x10562c000 + 105664
20 Purchases 0x1055f619c 0x1055d8000 + 123292
21 Purchases 0x1055fd314 0x1055d8000 + 152340
22 Purchases 0x1055fd198 0x1055d8000 + 151960
23 Purchases 0x1055fbe64 0x1055d8000 + 147044
24 Purchases 0x1055fd128 0x1055d8000 + 151848
25 Purchases 0x1055fc790 0x1055d8000 + 149392
26 Purchases 0x105601078 0x1055d8000 + 168056
27 StoreKit 0x1a9cf3d94 __48-[SKPaymentQueue
_updatedTransactions:restored:]_block_invoke_2 + 64
28 libdispatch.dylib 0x1811df094 _dispatch_call_block_and_release + 24
29 libdispatch.dylib 0x1811e0094 _dispatch_client_callout + 16
30 libdispatch.dylib 0x1811c1858 _dispatch_main_queue_drain + 888
31 libdispatch.dylib 0x1811c14d0
_dispatch_main_queue_callback_4CF$VARIANT$armv81 + 36
32 CoreFoundation 0x1814db0c4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
33 CoreFoundation 0x1814985e8 __CFRunLoopRun + 2544
34 CoreFoundation 0x1814ab240 CFRunLoopRunSpecific + 572
35 GraphicsServices 0x1a1fad988 GSEventRunModal + 160
36 UIKitCore 0x183cab41c -[UIApplication _run] + 1080
37 UIKitCore 0x183a44b88 UIApplicationMain + 336
38 libswiftUIKit.dylib 0x197dfaee4 UIApplicationMain(::::) + 100
39 VGravesite 0x104953858 0x10494c000 + 30808
40 dyld 0x104e5c3d0 start + 444
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1bbd0fbbc __pthread_kill + 8
1 libsystem_pthread.dylib 0x1dc763854 pthread_kill + 208
2 libsystem_c.dylib 0x18bc006ac abort + 124
3 libc++abi.dylib 0x198e08dd8 abort_message + 128
4 libc++abi.dylib 0x198df955c demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x198d168f8 _objc_terminate() + 124
6 libc++abi.dylib 0x198e08274 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x198e0821c std::terminate() + 60
8 libdispatch.dylib 0x1811e00a8 _dispatch_client_callout + 36
9 libdispatch.dylib 0x1811c1858 _dispatch_main_queue_drain + 888
10 libdispatch.dylib 0x1811c14d0 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 36
11 CoreFoundation 0x1814db0c4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
12 CoreFoundation 0x1814985e8 __CFRunLoopRun + 2544
13 CoreFoundation 0x1814ab240 CFRunLoopRunSpecific + 572
14 GraphicsServices 0x1a1fad988 GSEventRunModal + 160
15 UIKitCore 0x183cab41c -[UIApplication _run] + 1080
16 UIKitCore 0x183a44b88 UIApplicationMain + 336
17 libswiftUIKit.dylib 0x197dfaee4 UIApplicationMain(::::) + 100
18 VGravesite 0x104953858 0x10494c000 + 30808
19 dyld 0x104e5c3d0 start + 444
======================================
Date/Time: 2022-06-29 14:26:58.5713 -0700
Launch Time: 2022-06-29 14:25:59.1190 -0700
OS Version: iPhone OS 15.5 (19F77)
Release Type: User
Baseband Version: 7.61.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Kernel Triage:
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1bbd0fbbc __pthread_kill + 8
1 libsystem_pthread.dylib 0x1dc763854 pthread_kill + 208
2 libsystem_c.dylib 0x18bc006ac abort + 124
3 libc++abi.dylib 0x198e08dd8 abort_message + 128
4 libc++abi.dylib 0x198df955c demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x198d168f8 _objc_terminate() + 124
6 libc++abi.dylib 0x198e08274 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x198e0821c std::terminate() + 60
8 libdispatch.dylib 0x1811e00a8 _dispatch_client_callout + 36
9 libdispatch.dylib 0x1811c1858 _dispatch_main_queue_drain + 888
10 libdispatch.dylib 0x1811c14d0
_dispatch_main_queue_callback_4CF$VARIANT$armv81 + 36
11 CoreFoundation 0x1814db0c4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
12 CoreFoundation 0x1814985e8 __CFRunLoopRun + 2544
13 CoreFoundation 0x1814ab240 CFRunLoopRunSpecific + 572
14 GraphicsServices 0x1a1fad988 GSEventRunModal + 160
15 UIKitCore 0x183cab41c -[UIApplication _run] + 1080
16 UIKitCore 0x183a44b88 UIApplicationMain + 336
17 libswiftUIKit.dylib 0x197dfaee4 UIApplicationMain(::::) + 100
18 VGravesite 0x1007cb858 0x1007c4000 + 30808
19 dyld 0x100e703d0 start + 444
I have a very bad issue right now:
Behavior:
Application work when debug, but in release exit when app start.
The debugg information is not clear for the reason the application fail only in release mode.
Visual Studio 2019
Xamarin Forms 4.8.0.1821
ZxIng.Net.Mobile 2.4.1
ZxIng.Net.Mobile.Forms 2.4.1
Newtonsoft.Json 12.0.3
Xamarin.Essentials 1.6.1
SDK 14.4
Simulator log file:
Process: myapp-ui.iOS [19566]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/2C19C42D-564E-42CB-B805-C9C49BB1E8FD/data/Containers/Bundle/Application/1F644647-27DB-48EF-96D6-75A169AE4E9D/myapp-ui.iOS.app/myapp-ui.iOS
Identifier: myapp-ui.iOS
Version: 2.0.3 (1610484945)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [17405]
Responsible: SimulatorTrampoline [1267]
User ID: 501
Date/Time: 2021-02-16 12:29:44.629 -0600
OS Version: macOS 11.2.1 (20D74)
Report Version: 12
Anonymous UUID: E13D7872-1C1C-3306-5557-E45B4D68317D
Time Awake Since Boot: 350000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 tid_307 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
CoreSimulator 732.18.6 - Device: iPhone 12 Pro (2C19C42D-564E-42CB-B805-C9C49BB1E8FD) - Runtime: iOS 14.4 (18D46) - DeviceType: iPhone 12 Pro
Thread 0 Crashed:: tid_307 Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff61131462 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6116a610 pthread_kill + 263
2 libsystem_c.dylib 0x00007fff200fac2e __abort + 139
3 libsystem_c.dylib 0x00007fff200faba3 abort + 135
4 io.myapp.myapp-easyapp 0x00000001045caa6f xamarin_unhandled_exception_handler + 31 (runtime.m:1151)
5 io.myapp.myapp-easyapp 0x000000010445f415 mono_invoke_unhandled_exception_hook + 133 (exception.c:1265)
6 io.myapp.myapp-easyapp 0x000000010439ce2a mono_handle_exception_internal + 6986 (mini-exceptions.c:2782)
7 io.myapp.myapp-easyapp 0x000000010439b2d9 mono_handle_exception + 25 (mini-exceptions.c:3107)
8 io.myapp.myapp-easyapp 0x000000010431b969 mono_amd64_throw_exception + 169 (exceptions-amd64.c:409)
9 ??? 0x0000000104f6a5b0 0 + 4378240432
10 io.myapp.myapp-easyapp 0x00000001045ca7ed xamarin_process_managed_exception + 301 (runtime.m:2356)
11 io.myapp.myapp-easyapp 0x00000001045d1482 xamarin_invoke_trampoline + 1250 (trampolines-invoke.m:686)
12 io.myapp.myapp-easyapp 0x00000001045d3642 xamarin_arch_trampoline + 82 (trampolines-x86_64.m:491)
13 io.myapp.myapp-easyapp 0x00000001045d400a xamarin_x86_64_common_trampoline + 118 (trampolines-x86_64-asm.s:51)
14 com.apple.Foundation 0x00007fff208592ba __NSThreadPerformPerform + 204
15 com.apple.CoreFoundation 0x00007fff2039038a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16 com.apple.CoreFoundation 0x00007fff20390282 __CFRunLoopDoSource0 + 180
17 com.apple.CoreFoundation 0x00007fff2038f7c6 __CFRunLoopDoSources0 + 346
18 com.apple.CoreFoundation 0x00007fff20389f2f __CFRunLoopRun + 878
19 com.apple.CoreFoundation 0x00007fff203896d6 CFRunLoopRunSpecific + 567
20 com.apple.GraphicsServices 0x00007fff2c257db3 GSEventRunModal + 139
21 com.apple.UIKitCore 0x00007fff24696cf7 -[UIApplication _run] + 912
22 com.apple.UIKitCore 0x00007fff2469bba8 UIApplicationMain + 101
23 ??? 0x00000001065cb0a4 0 + 4401705124
24 ??? 0x00000001065caf13 0 + 4401704723
25 ??? 0x00000001065c7313 0 + 4401689363
26 io.myapp.myapp-easyapp 0x00000001043b36d1 mono_jit_runtime_invoke + 1569 (mini-runtime.c:3191)
27 io.myapp.myapp-easyapp 0x00000001044d9c08 do_runtime_invoke + 54 (object.c:3052) [inlined]
28 io.myapp.myapp-easyapp 0x00000001044d9c08 mono_runtime_invoke_checked + 136 (object.c:3220)
29 io.myapp.myapp-easyapp 0x00000001044dff75 do_exec_main_checked + 60 [inlined]
30 io.myapp.myapp-easyapp 0x00000001044dff75 mono_runtime_exec_main_checked + 117 (object.c:5284)
31 io.myapp.myapp-easyapp 0x00000001043124ec mono_jit_exec_internal + 14 (driver.c:1383) [inlined]
32 io.myapp.myapp-easyapp 0x00000001043124ec mono_jit_exec + 364 (driver.c:1328)
33 io.myapp.myapp-easyapp 0x00000001045d3196 xamarin_main + 1686 (monotouch-main.m:493)
34 io.myapp.myapp-easyapp 0x00000001042cc857 main + 55 (main.m:55)
35 libdyld.dylib 0x00007fff2025a3e9 start + 1
Fortunately the problem is Entitlement.plist, for some reason when use SecureStorage from Xamarin.Essentials, the application crash in release Testflight on shop, so I remove SecureStorage and problem solved.
Thanks all for all the answers.
Recently I got this error:
Failed to render and update auto layout status for YourViewController (GwR-7s-08s): The agent crashed
I've tried:
Editor > Refresh all views
Delete Derived Data
Delete and Undo my view controller
Restart My Pc
I'm really lost now.
This is what i found from console (~/Library/Logs/DiagnosticReports) IBDesignablesAgent-IOS.crash.
Process: IBDesignablesAgent-iOS [8917]
Path: /Users/USER/Desktop/Xcode (Vers 10.1).app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBDesignablesAgent-iOS
Identifier: IBDesignablesAgent-iOS
Version: 10.1 (14460.20)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [696]
Responsible: IBDesignablesAgent-iOS [8917]
User ID: 501
Date/Time: 2020-04-15 18:02:05.468 +0800
OS Version: Mac OS X 10.14.6 (18G103)
Report Version: 12
Bridge OS Version: 4.1 (17P1081)
Anonymous UUID: CBF175F5-90A8-CA46-157A-EAC22B0E9C53
Time Awake Since Boot: 7000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [8917]
Application Specific Information:
CoreSimulator 681.15 - Device: iPhone 8 (B66229B4-2385-44FD-B679-B71B2306DF10) - Runtime: iOS 12.1 (16B91) - DeviceType: iPhone 8
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Thread 0 Crashed:
0 libswiftCore.dylib 0x0000000226d276f1 specialized _fatalErrorMessage(_:_:file:line:flags:) + 113
1 libswiftCore.dylib 0x0000000226b5d053 _fatalErrorMessage(_:_:file:line:flags:) + 19
2 com.MiCaresvc.MyMed 0x0000000225e03dac UsefulLinksTableViewCell.layoutSubviews() + 268
3 com.MiCaresvc.MyMed 0x0000000225e041f4 #objc UsefulLinksTableViewCell.layoutSubviews() + 36
4 com.apple.UIKitCore 0x000000011d38d795 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1441
5 com.apple.QuartzCore 0x000000010e885b19 -[CALayer layoutSublayers] + 175
6 com.apple.QuartzCore 0x000000010e88a9d3 CA::Layer::layout_if_needed(CA::Transaction*) + 395
7 com.apple.UIKitCore 0x000000011d378077 -[UIView(Hierarchy) layoutBelowIfNeeded] + 1429
8 com.apple.IBCocoaTouchToolFoundation 0x000000010d33d267 -[UITableViewCell(IBCocoaTouchToolIntegration) awakeAfterMarshallerDidEstablishAttributesWithContext:] + 58
9 com.apple.IBCocoaTouchToolFoundation 0x000000010d332248 -[IBCocoaTouchToolObjectPackage initWithRequest:globalMarshallingContext:] + 3391
10 com.apple.IBCocoaTouchToolFoundation 0x000000010d330d91 +[IBCocoaTouchToolObjectPackage objectPackageFromRequest:] + 67
11 com.apple.IBCocoaTouchToolFoundation 0x000000010d333f1e +[IBCocoaTouchToolObjectPackage decodeWithBinaryUnarchiver:] + 106
12 com.apple.dt.IBFoundation 0x000000010e54241c -[IBBinaryUnarchiver decodeObject] + 109
13 com.apple.dt.IBFoundation 0x000000010e5e2e4f -[IBObjectBasedMarshallingRequest initWithBinaryUnarchiver:] + 135
14 com.apple.dt.IBAutolayoutFoundation 0x000000010e4b2f63 -[IBFullSceneUpdateRequest initWithBinaryUnarchiver:] + 65
15 com.apple.dt.IBFoundation 0x000000010e538f05 +[NSObject(IBBinaryArchivingAdditions) decodeWithBinaryUnarchiver:] + 65
16 com.apple.dt.IBFoundation 0x000000010e54241c -[IBBinaryUnarchiver decodeObject] + 109
17 com.apple.dt.IBFoundation 0x000000010e54281d -[IBBinaryUnarchiver decodeObjectReferenceIfPossible] + 74
18 com.apple.dt.IBFoundation 0x000000010e539486 -[NSArray(IBBinaryArchivingAdditions) initWithBinaryUnarchiver:] + 180
19 com.apple.dt.IBFoundation 0x000000010e538f05 +[NSObject(IBBinaryArchivingAdditions) decodeWithBinaryUnarchiver:] + 65
20 com.apple.dt.IBFoundation 0x000000010e54241c -[IBBinaryUnarchiver decodeObject] + 109
21 com.apple.dt.IBFoundation 0x000000010e62e745 -[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:] + 424
22 com.apple.dt.IBFoundation 0x000000010e62e152 __88-[IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:context:]_block_invoke + 143
23 libdispatch.dylib 0x00000001167f954b _dispatch_client_callout + 8
24 libdispatch.dylib 0x0000000116806036 _dispatch_async_and_wait_invoke + 109
25 libdispatch.dylib 0x00000001167f954b _dispatch_client_callout + 8
26 libdispatch.dylib 0x0000000116805380 _dispatch_main_queue_callback_4CF + 1290
27 com.apple.CoreFoundation 0x00000001105183e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
28 com.apple.CoreFoundation 0x0000000110512a76 __CFRunLoopRun + 2342
29 com.apple.CoreFoundation 0x0000000110511e11 CFRunLoopRunSpecific + 625
30 com.apple.Foundation 0x000000010eaea322 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
31 com.apple.dt.IBFoundation 0x000000010e5e9c36 -[IBAbstractPlatformTool startServingReceiveChannel:] + 447
32 com.apple.dt.IBFoundation 0x000000010e5e9ef2 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 119
33 com.apple.dt.IBFoundation 0x000000010e5ead9a +[IBAbstractPlatformTool main] + 1211
34 IBDesignablesAgent-iOS 0x000000010d253957 main + 34
35 libdyld.dylib 0x0000000116869575 start + 1
I tested my iOS app thoroughly in my device and there ware no crash but when I submitted the app for release it crashes repeatedly. I tried to analyze I couldn't find the reason. When I look the creash log it looks crash happens in
Hardware Model: xxx
Process: MyAppName [14002]
Path: /private/var/containers/Bundle/Application/6ED37E47-5605-432E-B077-B6B109B9FE1B/MyAppName.app/MyAppName
Identifier: com.mydomain.MyAppName
Version: 1 (1.0.0)
AppStoreTools: 10B63
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.mydomain.MyAppName [5310]
Date/Time: 2019-03-07 09:24:56.9034 -0800
Launch Time: 2019-03-07 09:20:00.9801 -0800
OS Version: iPhone OS 12.1.4 (16D57)
Baseband Version: 7.32.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x182ef1ea4 __exceptionPreprocess + 228
1 libobjc.A.dylib 0x1820c1a50 objc_exception_throw + 55
2 UIKitCore 0x1af72def0 -[UIPopoverPresentationController presentationTransitionWillBegin] + 2691
3 UIKitCore 0x1af736f28 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2195
4 UIKitCore 0x1af7348ac __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 479
5 UIKitCore 0x1afddc87c _runAfterCACommitDeferredBlocks + 295
6 UIKitCore 0x1afdca878 _cleanUpAfterCAFlushAndRunDeferredBlocks + 383
7 UIKitCore 0x1afdf9880 _afterCACommitHandler + 131
8 CoreFoundation 0x182e816bc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 31
9 CoreFoundation 0x182e7c350 __CFRunLoopDoObservers + 411
10 CoreFoundation 0x182e7c8f0 __CFRunLoopRun + 1263
11 CoreFoundation 0x182e7c0e0 CFRunLoopRunSpecific + 435
12 GraphicsServices 0x1850f5584 GSEventRunModal + 99
13 UIKitCore 0x1afdd0c00 UIApplicationMain + 211
14 MyAppName 0x100e601fc main + 33276 (ChildInfoViewController.swift:15)
15 libdyld.dylib 0x18293abb4 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000182a87104 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000182b03020 pthread_kill$VARIANT$mp + 380
2 libsystem_c.dylib 0x00000001829ded78 abort + 140
3 libc++abi.dylib 0x00000001820a8f78 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001820a9120 default_unexpected_handler+ 8480 () + 0
5 libobjc.A.dylib 0x00000001820c1e58 _objc_terminate+ 28248 () + 124
6 libc++abi.dylib 0x00000001820b50fc std::__terminate(void (*)+ 57596 ()) + 16
7 libc++abi.dylib 0x00000001820b4cec __cxa_rethrow + 144
8 libobjc.A.dylib 0x00000001820c1c20 objc_exception_rethrow + 44
9 CoreFoundation 0x0000000182e7c14c CFRunLoopRunSpecific + 544
10 GraphicsServices 0x00000001850f5584 GSEventRunModal + 100
11 UIKitCore 0x00000001afdd0c00 UIApplicationMain + 212
12 MyAppName 0x0000000100e601fc main + 33276 (ChildInfoViewController.swift:15)
13 libdyld.dylib 0x000000018293abb4 start + 4
Updated to Xcode 7.1 today. Cannot open, due to a crash that says "Xcode quit unexpectedly while using the libswiftCore.dylib plug-in.
Stack trace:
Process: Xcode [610]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.1 (9079)
Build Info: IDEFrameworks-9079000000000000~8
App Item ID: 497799835
App External ID: 813804225
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [610]
User ID: 502
PlugIn Path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib
PlugIn Identifier: libswiftCore.dylib
PlugIn Version: 2.1 (700.1.101.6)
Date/Time: 2015-10-23 17:33:26.756 +0100
OS Version: Mac OS X 10.11.1 (15B42)
Report Version: 11
Anonymous UUID: 92906A5F-963D-4D90-6510-F624BB6F0130
Time Awake Since Boot: 350 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 7B91b
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_c.dylib 0x00007fff9a2fed32 strlen + 18
1 libswiftCore.dylib 0x00000001124f7aac _buildDemanglingForNominalType(swift::Demangle::Node::Kind, swift::Metadata const*, swift::NominalTypeDescriptor const*) + 44
2 libswiftCore.dylib 0x00000001124f5cc5 _buildDemanglingForMetadata(swift::Metadata const*) + 133
3 libswiftCore.dylib 0x00000001124f7b7c _buildDemanglingForNominalType(swift::Demangle::Node::Kind, swift::Metadata const*, swift::NominalTypeDescriptor const*) + 252
4 libswiftCore.dylib 0x00000001124f5cc5 _buildDemanglingForMetadata(swift::Metadata const*) + 133
5 libswiftCore.dylib 0x00000001124f59bc swift_getGenericClassObjCName + 28
6 libswiftCore.dylib 0x00000001124475dd 0x1122ae000 + 1676765
7 libswiftCore.dylib 0x00000001124ebdd8 (anonymous namespace)::GenericCacheEntry* llvm::function_ref<(anonymous namespace)::GenericCacheEntry* ()>::callback_fn<swift::swift_getGenericMetadata::$_0>(long) + 24
8 libswiftCore.dylib 0x00000001124ebce0 swift::MetadataCache<(anonymous namespace)::GenericCacheEntry>::addMetadataEntry(swift::EntryRef<(anonymous namespace)::GenericCacheEntry>, ConcurrentList<swift::MetadataCache<(anonymous namespace)::GenericCacheEntry>::EntryPair>&, llvm::function_ref<(anonymous namespace)::GenericCacheEntry* ()>) + 128
9 libswiftCore.dylib 0x00000001124e8488 swift_getGenericMetadata + 504
10 libswiftCore.dylib 0x00000001124e851d swift_getGenericMetadata3 + 29
11 libswiftFoundation.dylib 0x00000001127c9226 _TZFe0_Rq_Ss8Hashable_10FoundationVSs10Dictionary26_forceBridgeFromObjectiveCu0_Rq_S__fMGS1_q_q0__FTCSo12NSDictionary6resultRGSqGS1_q_q0____T_ + 54
12 libswiftFoundation.dylib 0x00000001127c90ed _TF10Foundation32_convertNSDictionaryToDictionaryu0_Rq_Ss8Hashable_FGSqCSo12NSDictionary_GVSs10Dictionaryq_q0__ + 61
13 ca.nri.ColorSenseRainbow 0x000000011207e1ad _TTSf4g_n___TZFC17ColorSenseRainbow17ColorSenseRainbow13pluginDidLoadfMS0_FCSo8NSBundleT_ + 189 (ColorSenseRainbow.swift:33)
14 ca.nri.ColorSenseRainbow 0x000000011207c6f5 _TToZFC17ColorSenseRainbow17ColorSenseRainbow13pluginDidLoadfMS0_FCSo8NSBundleT_ + 37
15 com.apple.Xcode.DevToolsCore 0x000000010ded1658 __46-[XCPluginManager loadPluginBundle:forDomain:]_block_invoke + 143
16 com.apple.dt.DVTFoundation 0x00000001058ba9bc DVTInvokeWithFailureHint + 83
17 com.apple.Xcode.DevToolsCore 0x000000010ded13c8 -[XCPluginManager loadPluginBundle:forDomain:] + 1054
18 com.apple.Xcode.DevToolsCore 0x000000010ded0e5b __46-[XCPluginManager findAndLoadPluginsInDomain:]_block_invoke + 621
19 com.apple.dt.DVTFoundation 0x00000001058a02c5 -[DVTPlugInManager _allowNonApplePlugInsFromDescriptors:error:] + 470
20 com.apple.dt.DVTFoundation 0x00000001058a054d -[DVTPlugInManager _checkNonApplePlugIns] + 239
21 com.apple.dt.DVTFoundation 0x00000001058a062e -[DVTPlugInManager initializePlugIns:] + 27
22 com.apple.dt.IDEFoundation 0x00000001063f1724 _IDEInitializeOtherPlugInStuff + 175
23 com.apple.dt.IDEFoundation 0x00000001063f2814 IDEInitialize + 3725
24 com.apple.dt.IDEKit 0x0000000106aee2fc -[IDEApplicationController applicationWillFinishLaunching:] + 708
25 com.apple.CoreFoundation 0x00007fff9d30cc9c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
26 com.apple.CoreFoundation 0x00007fff9d30cc2f ___CFXRegistrationPost_block_invoke + 63
27 com.apple.CoreFoundation 0x00007fff9d30cba7 _CFXRegistrationPost + 407
28 com.apple.CoreFoundation 0x00007fff9d30c912 ___CFXNotificationPost_block_invoke + 50
29 com.apple.CoreFoundation 0x00007fff9d2c96d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
30 com.apple.CoreFoundation 0x00007fff9d2c8925 _CFXNotificationPost + 693
31 com.apple.Foundation 0x00007fff97dc40fa -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
32 com.apple.dt.DVTFoundation 0x0000000105892d45 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 698
33 com.apple.AppKit 0x00007fff91657022 -[NSApplication finishLaunching] + 354
34 com.apple.dt.DVTKit 0x0000000105e9349c -[DVTApplication finishLaunching] + 149
35 com.apple.AppKit 0x00007fff91656b65 -[NSApplication run] + 231
36 com.apple.AppKit 0x00007fff9161ffbe NSApplicationMain + 1176
37 libdyld.dylib 0x00007fff938e75ad start + 1
Please help. Anyone else get this? I did have to update this again after the update bombed in the middle of the download, and I had to manually download the .dmg file from the dev portal. After wiping the machine clean of anything related to Xcode, I reinstalled from the App Store. Giving me this every time, even after a restart.
Take out the ColorSenseRainbow plugin from:
~/Library/Application Support/Developer/Shared/Xcode/Plugin-ins
I'm looking into why it's causing Xcode to crash.
When it's fixed I'll post a note up at the GitHub site at https://github.com/NorthernRealities/ColorSenseRainbow