Visual Studio crashes when trying to open an existing project - visual-studio-mac

So, when I'm about to open a solution, the VS just crashes.
click to enlarge
I don't really know what I should attach here, so there is a little piece of the error code after force quit... if it's needed, I can insert there the whole, but it's quite long.
A piece of the error code:
Process: VisualStudio [1509]
Path: /Applications/Visual Studio.app/Contents/MacOS/VisualStudio
Identifier: com.microsoft.visual-studio
Version: 8.8.0.2913 (8.8.0.2913)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: VisualStudio [1509]
User ID: 501
Date/Time: 2020-11-19 13:52:01.224 +0100
OS Version: macOS 11.1 (20C5048k)
Report Version: 12
Bridge OS Version: 5.1 (18P53017c)
Time Awake Since Boot: 7000 seconds
Time Since Wake: 3400 seconds
System Integrity Protection: enabled
Crashed Thread: 0 GUI Thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
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 [1748]
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000307 rbx: 0x0000000001050002 rcx: 0x00007fff203c2c1c rdx: 0x0000000000000307
rdi: 0x0000000000000307 rsi: 0x0000000000000307 rbp: 0x00007ffee8f2a520 rsp: 0x00007ffee8f2a4e8
r8: 0x0000000000017a11 r9: 0xffffffff00000000 r10: 0x00007fff889af930 r11: 0x0000000000000206
r12: 0x0000000000050000 r13: 0x0000000000000307 r14: 0x0000000000000000 r15: 0x0000000106cf1600
rip: 0x00007fff203c2517 rfl: 0x0000000000010202 cr2: 0x0000000106cda3aa
Logical CPU: 6
Error Code: 0x00000000
Trap Number: 6
Here are some more lines, that should be something to work with as this is the crashed thread's error. pthread_kill, abort, cache_getImp?
Thread 0 Crashed:: GUI Thread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff2034c452 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff2037a610 pthread_kill + 263
2 libsystem_c.dylib 0x00007fff202cd720 abort + 120
3 libmonosgen-2.0.1.dylib 0x000000010a58ce86 mono_post_native_crash_handler + 102 (mini-posix.c:1168)
4 libmonosgen-2.0.1.dylib 0x000000010a5248a8 mono_handle_native_crash + 632 (mini-exceptions.c:3440)
5 libmonosgen-2.0.1.dylib 0x000000010a58bbb5 sigterm_signal_handler + 85 (mini-posix.c:256)
6 libsystem_platform.dylib 0x00007fff203bed7d _sigtramp + 29
7 libobjc.A.dylib 0x00007fff20216d00 cache_getImp + 144
8 libobjc.A.dylib 0x00007fff20216d00 cache_getImp + 144
9 com.apple.AppKit 0x00007fff22e824bb -[NSView _recursiveGatherAllKeyViewCandidatesInArray:] + 895
10 com.apple.AppKit 0x00007fff22e824bb -[NSView _recursiveGatherAllKeyViewCandidatesInArray:] + 895
11 com.apple.AppKit 0x00007fff22e820b3 _NSComputeFirstKeyViewVisuallyInDirection + 60
12 com.apple.AppKit 0x00007fff22e81e24 -[NSWindow _findFirstKeyViewInDirection:forKeyLoopGroupingView:] + 74
13 com.apple.AppKit 0x00007fff22e81b55 _replacementKeyViewAlongKeyViewPath + 597
14 com.apple.AppKit 0x00007fff22e814da -[NSView nextValidKeyView] + 230
15 com.apple.AppKit 0x00007fff22e97c3f __82-[NSAutoFillHeuristicController showAutoFillIfNecessaryFor:withCompletionHandler:]_block_invoke + 89
16 com.apple.AppKit 0x00007fff234e42e8 ___NSMainRunLoopPerformBlockInModes_block_invoke + 25
17 com.apple.CoreFoundation 0x00007fff204725a2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
18 com.apple.CoreFoundation 0x00007fff2047244c __CFRunLoopDoBlocks + 437
19 com.apple.CoreFoundation 0x00007fff20471113 __CFRunLoopRun + 876
20 com.apple.CoreFoundation 0x00007fff204706ce CFRunLoopRunSpecific + 563
21 com.apple.HIToolbox 0x00007fff286ea6a0 RunCurrentEventLoopInMode + 292
22 com.apple.HIToolbox 0x00007fff286ea2f2 ReceiveNextEventCommon + 283
23 com.apple.HIToolbox 0x00007fff286ea1bf _BlockUntilNextEventMatchingListInModeWithFilter + 64
24 com.apple.AppKit 0x00007fff22c86da5 _DPSNextEvent + 883
25 com.apple.AppKit 0x00007fff22c8556b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
26 libgdk-quartz-2.0.0.dylib 0x0000000110dd1797 poll_func + 295 (gdkeventloop-quartz.c:779)
27 libglib-2.0.0.dylib 0x000000010eb445ab g_main_context_iterate + 366
28 libglib-2.0.0.dylib 0x000000010eb4485b g_main_loop_run + 207
29 libgtk-quartz-2.0.0.dylib 0x0000000110911c02 gtk_main + 242 (gtkmain.c:1257)
30 ??? 0x000000011c694de6 0 + 4771630566
31 ??? 0x000000011c694d53 0 + 4771630419
32 ??? 0x000000011c694c0b 0 + 4771630091
33 ??? 0x000000010e5bba0d 0 + 4535859725
34 ??? 0x00000001047e0673 0 + 4370335347
35 ??? 0x00000001047e01fb 0 + 4370334203
36 ??? 0x00000001047e0325 0 + 4370334501
37 libmonosgen-2.0.1.dylib 0x000000010a481aa2 mono_jit_runtime_invoke + 2354 (mini-runtime.c:3191)
38 libmonosgen-2.0.1.dylib 0x000000010a691197 do_runtime_invoke + 53 (object.c:3052) [inlined]
39 libmonosgen-2.0.1.dylib 0x000000010a691197 mono_runtime_invoke_checked + 135 (object.c:3220)
40 libmonosgen-2.0.1.dylib 0x000000010a69965e do_exec_main_checked + 94 (object.c:5180)
41 libmonosgen-2.0.1.dylib 0x000000010a4e1f5e mono_jit_exec_internal + 14 (driver.g.c:1391) [inlined]
42 libmonosgen-2.0.1.dylib 0x000000010a4e1f5e mono_jit_exec + 414 (driver.g.c:1336)
43 libmonosgen-2.0.1.dylib 0x000000010a4e51c5 main_thread_handler + 75 (driver.g.c:1473) [inlined]
44 libmonosgen-2.0.1.dylib 0x000000010a4e51c5 mono_main + 9397 (driver.g.c:2769)
45 com.microsoft.visual-studio 0x000000010467179f main + 2671
46 libdyld.dylib 0x00007fff20395621 start + 1

Allright, so seems like 8.8.1 update solved the issue, so far at least.

Related

Xamarin.Forms iOS application crash on release after SplashScreen

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.

Random Crash on IOS unity game

I am building for IOS and after 20 days of torture the game is now working. The problem is it only works 50 % of the time. The other 50% it crashes on startup, this is the error that is returning in the device log. Any idea what might bring that ? I deleted facebook, firebase and googlesignin libraries because they didn't want to work at all in the ios build.
What happens is I open the game and i get a black screen for a bit. Then it closes the game and this error returns. On the first build form XCode it works and opens correctly. Any ideas ?
Incident Identifier: 8112E4E8-3C9D-4DE3-A414-1AF905C63A00
CrashReporter Key: cbb6618220f871820f24baa58e3e282b833a7cca
Hardware Model: iPhone9,3
Process: dragononlinemmorpg [559]
Path: /private/var/containers/Bundle/Application/97F19A54-D4EA-4D20-94BA-DF88D87C9D8E/dragononlinemmorpg.app/dragononlinemmorpg
Identifier: nedi.game.dragononlinemmorpg
Version: 5.2 (5.2)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: nedi.game.dragononlinemmorpg [598]
Date/Time: 2021-01-17 23:01:00.6253 +0200
Launch Time: 2021-01-17 23:00:40.4692 +0200
OS Version: iPhone OS 14.3 (18C66)
Release Type: User
Baseband Version: 5.01.01
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: application<nedi.game.dragononlinemmorpg>:559 exhausted real (wall clock) time allowance of 20.00 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: process-launch | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 6.820 (user 6.820, system 0.000), 17% CPU", | "Elapsed application CPU time (seconds): 0.171, 0% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001c334d290 __ulock_wait + 8
1 libdispatch.dylib 0x00000001970515a4 _dlock_wait + 52
2 libdispatch.dylib 0x00000001970514e4 _dispatch_once_wait$VARIANT$mp + 112
3 UIKitCore 0x0000000199915fa4 -[_UIApplicationConfigurationLoader _loadInitializationContext] + 120
4 UIKitCore 0x0000000199916270 -[_UIApplicationConfigurationLoader applicationInitializationContext] + 28
5 UIKitCore 0x00000001998fe9a8 -[_UIScreenInitialDisplayConfigurationLoader initialDisplayContext] + 176
6 UIKitCore 0x00000001998fec84 +[UIScreen initialize] + 124
7 libobjc.A.dylib 0x00000001ab7da064 CALLING_SOME_+initialize_METHOD + 20
8 libobjc.A.dylib 0x00000001ab7e00b0 initializeNonMetaClass + 712
9 libobjc.A.dylib 0x00000001ab7e1410 initializeAndMaybeRelock+ 37904 (objc_class*, objc_object*, mutex_tt<false>&, bool) + 300
10 libobjc.A.dylib 0x00000001ab7ef52c lookUpImpOrForward + 856
11 libobjc.A.dylib 0x00000001ab7da820 _objc_msgSend_uncached + 64
12 UIKitCore 0x0000000199916764 _UIGetCurrentFallbackTraitCollection + 96
13 UIKitCore 0x000000019a1b7f18 UIViewCommonInitWithFrame + 580
14 UIKitCore 0x000000019a1b7c7c -[UIView initWithFrame:] + 124
15 WebKit 0x00000001a30db4c4 -[WKWebView initWithFrame:configuration:] + 48
16 WebKit 0x00000001a30e2e94 -[WKWebView initWithFrame:] + 92
17 UnityFramework 0x0000000107f887b4 +[UniWebView load] + 24676276 (UniWebView.m:125)
18 libobjc.A.dylib 0x00000001ab7e825c load_images + 944
19 libdyld.dylib 0x00000001970dc0f4 invocation function for block in dyld3::AllImages::runInitialzersBottomUp+ 65780 (dyld3::closure::Image const*) + 220
20 libdyld.dylib 0x00000001970cee4c dyld3::closure::Image::forEachImageToInitBefore(void + 11852 (unsigned int, bool&) block_pointer) const + 92
21 libdyld.dylib 0x00000001970dcb28 dyld3::AllImages::loadImage+ 68392 (Diagnostics&, char const*, unsigned int, dyld3::closure::DlopenClosure const*, bool, bool, bool, bool, void const*) + 776
22 libdyld.dylib 0x00000001970dc678 dyld3::AllImages::dlopen+ 67192 (Diagnostics&, char const*, bool, bool, bool, bool, bool, void const*, bool) + 872
23 libdyld.dylib 0x00000001970de294 dyld3::dlopen_internal+ 74388 (char const*, int, void*) + 368
24 libdyld.dylib 0x00000001970d1590 dlopen_internal+ 21904 (char const*, int, void*) + 108
25 CoreFoundation 0x00000001973d1048 _CFBundleDlfcnLoadFramework + 136
26 CoreFoundation 0x00000001973a2984 _CFBundleLoadExecutableAndReturnError + 376
27 Foundation 0x000000019863fba8 -[NSBundle loadAndReturnError:] + 332
28 dragononlinemmorpg 0x0000000104df7c94 UnityFrameworkLoad() + 31892 (main.mm:12)
29 dragononlinemmorpg 0x0000000104df7d98 main + 32152 (main.mm:25)
30 libdyld.dylib 0x00000001970cd568 start + 4
Thread 1 name: Dispatch queue: com.apple.uikit.applicationSupportClient
Thread 1:
0 libsystem_kernel.dylib 0x00000001c334c66c __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001dfba4358 _pthread_mutex_firstfit_lock_wait + 88
2 libsystem_pthread.dylib 0x00000001dfba42ac _pthread_mutex_firstfit_lock_slow$VARIANT$mp + 224
3 libdyld.dylib 0x00000001970de16c dyld3::dlopen_internal+ 74092 (char const*, int, void*) + 72
4 libdyld.dylib 0x00000001970d1590 dlopen_internal+ 21904 (char const*, int, void*) + 108
5 SoftLinking 0x00000001d7be5f30 _sl_dlopen_audited + 44
6 BoardServices 0x00000001afd8338c __34+[BSServiceManager sharedInstance]_block_invoke + 860
7 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
8 libdispatch.dylib 0x00000001970522f4 _dispatch_once_callout + 28
9 BoardServices 0x00000001afd8302c +[BSServiceManager sharedInstance] + 64
10 BoardServices 0x00000001afd7c024 +[BSServiceConnection _connectionWithEndpoint:clientContextBuilder:] + 316
11 UIKitServices 0x000000019b21ecb0 __44-[UISApplicationSupportClient _remoteTarget]_block_invoke + 204
12 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
13 libdispatch.dylib 0x000000019705db8c _dispatch_lane_barrier_sync_invoke_and_complete + 56
14 UIKitServices 0x000000019b21ebac -[UISApplicationSupportClient _remoteTarget] + 140
15 UIKitServices 0x000000019b21e4c8 -[UISApplicationSupportClient applicationInitializationContextWithParameters:] + 180
16 UIKitCore 0x00000001999160f8 __63-[_UIApplicationConfigurationLoader _loadInitializationContext]_block_invoke_2 + 224
17 UIKitCore 0x0000000199916010 __UIAPPLICATION_IS_LOADING_INITIALIZATION_INFO_FROM_THE_SYSTEM__ + 20
18 UIKitCore 0x0000000199915ff0 __63-[_UIApplicationConfigurationLoader _loadInitializationContext]_block_invoke + 72
19 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
20 libdispatch.dylib 0x00000001970522f4 _dispatch_once_callout + 28
21 UIKitCore 0x0000000199915fa4 -[_UIApplicationConfigurationLoader _loadInitializationContext] + 120
22 UIKitCore 0x0000000199916248 __70-[_UIApplicationConfigurationLoader startPreloadInitializationContext]_block_invoke + 24
23 libdispatch.dylib 0x00000001970ad298 _dispatch_call_block_and_release + 24
24 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
25 libdispatch.dylib 0x0000000197060074 _dispatch_root_queue_drain + 688
26 libdispatch.dylib 0x0000000197060704 _dispatch_worker_thread2 + 124
27 libsystem_pthread.dylib 0x00000001dfbab568 _pthread_wqthread + 212
28 libsystem_pthread.dylib 0x00000001dfbae874 start_wqthread + 8
Thread 2 name: JavaScriptCore bmalloc scavenger
Thread 2:
0 libsystem_kernel.dylib 0x00000001c334c61c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001dfba32fc _pthread_cond_wait$VARIANT$mp + 1180
2 libc++.1.dylib 0x00000001ab87ae0c std::__1::condition_variable::wait+ 52748 (std::__1::unique_lock<std::__1::mutex>&) + 24
3 JavaScriptCore 0x00000001a0fe4b54 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >+ 14871380 (std::__1::unique_lock<bmalloc::Mutex>&) + 108
4 JavaScriptCore 0x00000001a0fe9584 bmalloc::Scavenger::threadRunLoop+ 14890372 () + 252
5 JavaScriptCore 0x00000001a0fe8f98 bmalloc::Scavenger::Scavenger+ 14888856 (std::__1::scoped_lock<bmalloc::Mutex> const&) + 0
6 JavaScriptCore 0x00000001a0fea6c0 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer+ 14894784 (std::__1::__thread_struct*) + 0
7 libsystem_pthread.dylib 0x00000001dfba9b3c _pthread_start + 288
8 libsystem_pthread.dylib 0x00000001dfbae880 thread_start + 8
Thread 3:
0 libsystem_pthread.dylib 0x00000001dfbae86c start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0xfffffffffffffffc x1: 0x0000000000000000 x2: 0x0000000000001701 x3: 0x0000000000000000
x4: 0x0000000000000010 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000023
x8: 0x0000000000001307 x9: 0x0000000000000000 x10: 0x00000001e629ece8 x11: 0x01e70001e629ece9
x12: 0x0000000000ae2464 x13: 0x000061a1f0aa8465 x14: 0x0000000000000000 x15: 0x00000001f0aa8460
x16: 0x0000000000000203 x17: 0x0000000199915f2c x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x00000001f0ab8a80 x21: 0x0000000001000002 x22: 0x0000000000001701 x23: 0x0000000106015108
x24: 0x000000016b009f90 x25: 0x00000001f0a4bdbc x26: 0x0000000105293960 x27: 0x00000001f0aa8320
x28: 0x000000000000000b fp: 0x000000016b009e40 lr: 0x00000001970515a4
sp: 0x000000016b009e20 pc: 0x00000001c334d290 cpsr: 0x00000000
esr: 0x56000080 Address size fault
Binary Images:
0x104df0000 - 0x104df7fff dragononlinemmorpg arm64 <de66ff8722fa329dae8296ae09bb3dd5> /var/containers/Bundle/Application/97F19A54-D4EA-4D20-94BA-DF88D87C9D8E/dragononlinemmorpg.app/dragononlinemmorpg
0x104ebc000 - 0x104ec7fff FBSDKGamingServicesKit arm64 <9478b59ceaf3301f895f9a259ab82fa8> /var/containers/Bundle/Application/97F19A54-D4EA-4D20-94BA-DF88D87C9D8E/dragononlinemmorpg.app/Frameworks/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit
....
Your error code is: 0x8badf00d
This has already been answered here and is likely related to the networking of your application; given in it's a dragononlinemmorpg.
Apple has documentation on how to diagnose crash reports

Unable to find the cause of crash-Exception Type: EXC_BREAKPOINT (SIGTRAP)

I would be so appreciated if anybody could spend their time to help me!!!
What I am facing now
I was trying to present an view controller from extension and the app crashed without leading me the line of error code.
What I tried:
I Added many breakpoints, found that if I don't present the table view controller to show the correct info, no crash. But after the presentation, after the info is loaded rightly in the table, seconds later, crash happens.
What I can provide:
I can provide the full crash report:
Incident Identifier: 03B53A6D-E069-4C4B-98C0-CB61C8C1A688
CrashReporter Key: 1dd64f8867f0eda63dfc5248be178fbebdd71653
Hardware Model: iPhone9,2
Process: EverykeyAutofillExtension [98811]
Path: /private/var/containers/Bundle/Application/63F02B78-71D9-405B-AC3F-314868CA262D/Privacy.app/PlugIns/PrivacyExtension.appex/EverykeyAutofillExtension
Identifier: comPrivacy.ios.PrivacyAutofillExtension
Version: 12 (2.4.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.Privacy.ios.PrivacyAutofillExtension [24965]
Date/Time: 2020-08-26 14:20:40.7959 -0400
Launch Time: 2020-08-26 14:20:03.4675 -0400
OS Version: iPhone OS 13.5.1 (17F80)
Release Type: User
Baseband Version: 7.60.01
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000019819e9d0
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [98811]
Triggered by Thread: 1
Last Exception Backtrace:
0 CoreFoundation 0x19853d794 __exceptionPreprocess + 224
1 libobjc.A.dylib 0x19825fbcc objc_exception_throw + 55
2 Foundation 0x198a151fc _AssertAutolayoutOnAllowedThreadsOnly + 419
3 Foundation 0x19882207c -[NSISEngine _optimizeWithoutRebuilding] + 67
4 Foundation 0x198821f98 -[NSISEngine optimize] + 111
5 Foundation 0x198821c0c -[NSISEngine performPendingChangeNotifications] + 111
6 UIKitCore 0x19ca97e88 -[UIView+ 15605384 (CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 171
7 UIKitCore 0x19ca988c4 -[UIView+ 15608004 (CALayerDelegate) layoutSublayersOfLayer:] + 2247
8 QuartzCore 0x19f02b724 -[CALayer layoutSublayers] + 283
9 QuartzCore 0x19f03187c CA::Layer::layout_if_needed+ 1407100 (CA::Transaction*) + 467
10 QuartzCore 0x19f03c3c0 CA::Layer::layout_and_display_if_needed+ 1450944 (CA::Transaction*) + 139
11 QuartzCore 0x19ef84f1c CA::Context::commit_transaction+ 700188 (CA::Transaction*, double) + 295
12 QuartzCore 0x19efae8bc CA::Transaction::commit+ 870588 () + 675
13 QuartzCore 0x19efaf85c CA::Transaction::release_thread+ 874588 (void*) + 227
14 libsystem_pthread.dylib 0x198256f8c _pthread_tsd_cleanup + 579
15 libsystem_pthread.dylib 0x198253df4 _pthread_exit + 79
16 libsystem_pthread.dylib 0x198254e64 _pthread_wqthread_exit + 95
17 libsystem_pthread.dylib 0x198254c04 _pthread_wqthread + 415
18 libsystem_pthread.dylib 0x198257740 start_wqthread + 7
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 GraphicsServices 0x00000001a260038c GSEventRunModal + 160
6 UIKitCore 0x000000019c5e4444 UIApplicationMain + 1932
7 libxpc.dylib 0x00000001981218fc _xpc_objc_main.cold.3 + 208
8 libxpc.dylib 0x000000019810d4f0 _xpc_objc_main + 212
9 libxpc.dylib 0x000000019810fb4c xpc_main + 148
10 Foundation 0x0000000198834534 +[NSXPCListener serviceListener] + 0
11 PlugInKit 0x00000001a599fd50 0x1a5989000 + 93520
12 PlugInKit 0x00000001a599fa68 0x1a5989000 + 92776
13 PlugInKit 0x00000001a59a015c 0x1a5989000 + 94556
14 Foundation 0x0000000198a0d2c0 NSExtensionMain + 64
15 libdyld.dylib 0x000000019833d8f0 start + 4
Thread 1 Crashed:
0 libsystem_c.dylib 0x000000019819e9d0 __abort + 144
1 libsystem_c.dylib 0x000000019819e9d0 __abort + 144
2 libsystem_c.dylib 0x000000019819e940 __abort + 0
3 libc++abi.dylib 0x0000000198306cc0 __cxxabiv1::__aligned_malloc_with_fallback+ 76992 (unsigned long) + 0
4 libc++abi.dylib 0x00000001982f8e10 demangling_unexpected_handler+ 19984 () + 0
5 libobjc.A.dylib 0x000000019825fe80 _objc_terminate+ 24192 () + 124
6 libc++abi.dylib 0x000000019830614c std::__terminate(void (*)+ 74060 ()) + 16
7 libc++abi.dylib 0x0000000198308bd8 __cxa_get_exception_ptr + 0
8 libc++abi.dylib 0x0000000198308b98 __cxxabiv1::exception_cleanup_func+ 84888 (_Unwind_Reason_Code, _Unwind_Exception*) + 0
9 libobjc.A.dylib 0x000000019825fcf8 _objc_exception_destructor+ 23800 (void*) + 0
10 Foundation 0x0000000198a151fc -[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints] + 0
11 Foundation 0x000000019882207c -[NSISEngine _optimizeWithoutRebuilding] + 68
12 Foundation 0x0000000198821f98 -[NSISEngine optimize] + 112
13 Foundation 0x0000000198821c0c -[NSISEngine performPendingChangeNotifications] + 112
14 UIKitCore 0x000000019ca97e88 -[UIView+ 15605384 (CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 172
15 UIKitCore 0x000000019ca988c4 -[UIView+ 15608004 (CALayerDelegate) layoutSublayersOfLayer:] + 2248
16 QuartzCore 0x000000019f02b724 -[CALayer layoutSublayers] + 284
17 QuartzCore 0x000000019f03187c CA::Layer::layout_if_needed+ 1407100 (CA::Transaction*) + 468
18 QuartzCore 0x000000019f03c3c0 CA::Layer::layout_and_display_if_needed+ 1450944 (CA::Transaction*) + 140
19 QuartzCore 0x000000019ef84f1c CA::Context::commit_transaction+ 700188 (CA::Transaction*, double) + 296
20 QuartzCore 0x000000019efae8bc CA::Transaction::commit+ 870588 () + 676
21 QuartzCore 0x000000019efaf85c CA::Transaction::release_thread+ 874588 (void*) + 228
22 libsystem_pthread.dylib 0x0000000198256f8c _pthread_tsd_cleanup + 580
23 libsystem_pthread.dylib 0x0000000198253df4 _pthread_exit + 80
24 libsystem_pthread.dylib 0x0000000198254e64 _pthread_wqthread_legacy_worker_wrap + 0
25 libsystem_pthread.dylib 0x0000000198254c04 _pthread_wqthread + 416
26 libsystem_pthread.dylib 0x0000000198257740 start_wqthread + 8
Thread 2 name: com.apple.uikit.eventfetch-thread
Thread 2:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 Foundation 0x00000001987f901c -[NSRunLoop+ 32796 (NSRunLoop) runMode:beforeDate:] + 228
6 Foundation 0x00000001987f8efc -[NSRunLoop+ 32508 (NSRunLoop) runUntilDate:] + 88
7 UIKitCore 0x000000019c6875dc -[UIEventFetcher threadMain] + 152
8 Foundation 0x0000000198927e20 __NSThread__start__ + 848
9 libsystem_pthread.dylib 0x0000000198253d98 _pthread_start + 156
10 libsystem_pthread.dylib 0x000000019825774c thread_start + 8
Thread 3:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 CFNetwork 0x000000019b776894 0x19b775000 + 6292
6 Foundation 0x0000000198927e20 __NSThread__start__ + 848
7 libsystem_pthread.dylib 0x0000000198253d98 _pthread_start + 156
8 libsystem_pthread.dylib 0x000000019825774c thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 1 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000001
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x00000000ffffffe7 x9: 0x00000001e565b228 x10: 0x00000000000003e8 x11: 0x000000000000000b
x12: 0x00000001d388d080 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000007
x16: 0x0000000000000030 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x000000016fa62b58
x20: 0x00000001e2581810 x21: 0x000000016fa62c10 x22: 0x0000000281b4ce40 x23: 0x00000001d3b33000
x24: 0x0000000000000001 x25: 0x0000000000000068 x26: 0x000000000000009c x27: 0x0000000000000068
x28: 0x000000002b310019 fp: 0x000000016fa62b70 lr: 0x000000019819e9d0
sp: 0x000000016fa62b40 pc: 0x000000019819e9d0 cpsr: 0x40000000
esr: 0xf2000001 Address size fault
Look, Your app crashed at:
Triggered by Thread: 1
and use
[CALayer layoutSublayers]
looks like, You're updating UI not in main thread somewhere
Whenever you see something like this
1 libobjc.A.dylib 0x19825fbcc objc_exception_throw + 55
You should go to the breakpoints tab in Xcode, click the + button, then Exception Breakpoint...
This will create a breakpoint called "All Objective-C exceptions". This will pause the debugger at the moment the exception is thrown, letting you see the exact misuse of Apple's API that is causing the exception.

Xcode error: This app could not be installed at this time

I'm having issues installing apps on my simulator. I create a new project (making absolutely no modifications) and hit build, it builds successfully and then opens up the simulator.. A this point I get an error that says "This app could not be installed at this time".
I'm running macOS Catalina 10.15 Beta. Installed Xcode 11.1 directly from the Appstore and created a new project which wouldn't deploy with that error. I installed Xcode 11.2 Beta and received the same error as well. I've restarted the computer numerous times, and I've also regularly closed Xcode and the simulator normally as well as force closing them with no luck. I'm not sure what else to try. This is on a 2017 MacBook Pro with Touchbar if it makes any difference.
Here are the error details:
This app could not be installed at this time.
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Could not install at this time.
--
The operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error -102.)
Domain: LSApplicationWorkspaceErrorDomain
Code: -102
User Info: {
CFBundleIdentifier = "com.blackhive.SwiftUI-Demo-4";
Error = RegistrationFailed;
"_LSFunction" = "-[_LSInstaller _doinstallApplication:atURL:withOptions:installType:notificationJournaller:reply:]";
"_LSLine" = 627;
}
New error details:
Process: com.apple.migrationpluginwrapper [2349]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/DataMigration.framework/XPCServices/com.apple.migrationpluginwrapper.xpc/com.apple.migrationpluginwrapper
Identifier: com.apple.migrationpluginwrapper
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [2249]
Responsible: SimulatorTrampoline [2215]
User ID: 501
Date/Time: 2019-10-30 15:40:44.834 -0700
OS Version: Mac OS X 10.15.1 (19B77a)
Report Version: 12
Bridge OS Version: 3.0 (14Y904)
Anonymous UUID: 7F594A3B-E0E3-8F8E-9876-9A1130956853
Time Awake Since Boot: 3100 seconds
System Integrity Protection: enabled
Crashed Thread: 1 Dispatch queue: com.apple.migrationpluginwrapper.plugin.MobileSafari.migrator
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:isDirectory:]: nil string parameter'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 681.14 - Device: iPhone 11 Pro Max (1A97AF8B-70F3-401C-85AF-DB1D7D7A9EC8) - Runtime: iOS 13.1 (17A844) - DeviceType: iPhone 11 Pro Max
Application Specific Backtrace 1:
0 CoreFoundation 0x00000001015d21ee __exceptionPreprocess + 350
1 libobjc.A.dylib 0x000000010143fb20 objc_exception_throw + 48
2 Foundation 0x0000000100f266ec -[NSURL(NSURL) initFileURLWithPath:isDirectory:relativeToURL:] + 0
3 Foundation 0x0000000100f26c66 +[NSURL(NSURL) fileURLWithPath:isDirectory:] + 54
4 SafariServices 0x0000000104c806b6 __58+[NSUserDefaults(SafariServicesExtras) _sf_safariDefaults]_block_invoke + 234
5 libdispatch.dylib 0x0000000102206781 _dispatch_client_callout + 8
6 libdispatch.dylib 0x00000001022079ad _dispatch_once_callout + 20
7 SafariServices 0x0000000104c805c9 +[NSUserDefaults(SafariServicesExtras) _sf_safariDefaults] + 45
8 MobileSafari 0x0000000103cc7776 MobileSafari + 30582
9 MobileSafari 0x0000000103cc1261 MobileSafari + 4705
10 com.apple.migrationpluginwrapper 0x0000000100d64018 __47-[DMMigrationPluginWrapperProxy handleMessage:]_block_invoke_2 + 552
11 libdispatch.dylib 0x0000000102205810 _dispatch_call_block_and_release + 12
12 libdispatch.dylib 0x0000000102206781 _dispatch_client_callout + 8
13 libdispatch.dylib 0x000000010220c4ee _dispatch_lane_serial_drain + 707
14 libdispatch.dylib 0x000000010220cf24 _dispatch_lane_invoke + 388
15 libdispatch.dylib 0x0000000102216ffc _dispatch_workloop_worker_thread + 626
16 libsystem_pthread.dylib 0x000000010267c71b _pthread_wqthread + 290
17 libsystem_pthread.dylib 0x000000010267c57b start_wqthread + 15
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000010261c166 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x000000010261c6cc mach_msg + 60
2 com.apple.CoreFoundation 0x0000000101534af5 __CFRunLoopServiceMachPort + 197
3 com.apple.CoreFoundation 0x000000010152f817 __CFRunLoopRun + 1671
4 com.apple.CoreFoundation 0x000000010152ee66 CFRunLoopRunSpecific + 438
5 com.apple.Foundation 0x0000000100ee994f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 211
6 com.apple.Foundation 0x0000000100ee9b67 -[NSRunLoop(NSRunLoop) run] + 76
7 libxpc.dylib 0x00000001025b24e6 _xpc_objc_main + 297
8 libxpc.dylib 0x00000001025b4b87 xpc_main + 132
9 com.apple.migrationpluginwrapper 0x0000000100d647dd main + 61
10 libdyld.dylib 0x0000000102287d29 start + 1
Thread 1 Crashed:: Dispatch queue: com.apple.migrationpluginwrapper.plugin.MobileSafari.migrator
0 libsystem_kernel.dylib 0x000000010262249a __pthread_kill + 10
1 libsystem_pthread.dylib 0x000000010267f6cb pthread_kill + 384
2 libsystem_c.dylib 0x00000001023aea3c abort + 120
3 libc++abi.dylib 0x00000001020c47f8 abort_message + 231
4 libc++abi.dylib 0x00000001020c49c7 demangling_terminate_handler() + 262
5 libobjc.A.dylib 0x000000010143fd7c _objc_terminate() + 96
6 libc++abi.dylib 0x00000001020d1e97 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00000001020d1e39 std::terminate() + 41
8 libdispatch.dylib 0x0000000102206795 _dispatch_client_callout + 28
9 libdispatch.dylib 0x00000001022079ad _dispatch_once_callout + 20
10 com.apple.SafariServices 0x0000000104c805c9 +[NSUserDefaults(SafariServicesExtras) _sf_safariDefaults] + 45
11 com.apple.MobileSafari.migrator 0x0000000103cc7776 0x103cc0000 + 30582
12 com.apple.MobileSafari.migrator 0x0000000103cc1261 0x103cc0000 + 4705
13 com.apple.migrationpluginwrapper 0x0000000100d64018 __47-[DMMigrationPluginWrapperProxy handleMessage:]_block_invoke_2 + 552
14 libdispatch.dylib 0x0000000102205810 _dispatch_call_block_and_release + 12
15 libdispatch.dylib 0x0000000102206781 _dispatch_client_callout + 8
16 libdispatch.dylib 0x000000010220c4ee _dispatch_lane_serial_drain + 707
17 libdispatch.dylib 0x000000010220cf24 _dispatch_lane_invoke + 388
18 libdispatch.dylib 0x0000000102216ffc _dispatch_workloop_worker_thread + 626
19 libsystem_pthread.dylib 0x000000010267c71b _pthread_wqthread + 290
20 libsystem_pthread.dylib 0x000000010267c57b start_wqthread + 15
Thread 2:
0 libsystem_pthread.dylib 0x000000010267c56c start_wqthread + 0
Thread 1 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000700009e9d000 rcx: 0x0000700009e9bfd8 rdx: 0x0000000000000000
rdi: 0x0000000000001703 rsi: 0x0000000000000006 rbp: 0x0000700009e9c000 rsp: 0x0000700009e9bfd8
r8: 0x0000700009e9bea0 r9: 0x0000700009e9c070 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000001703 r13: 0x0000003000000008 r14: 0x0000000000000006 r15: 0x0000000000000016
rip: 0x000000010262249a rfl: 0x0000000000000206 cr2: 0x000000010267f54b
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Your issue is with your OSx, you have 10.15(beta) and it is noted in release notes that XCode and OSX must be "synced". I had the same issue but then I solved it by re-installing MacOS 10.15. I originally had the 10.15 Beta version installed. So make sure you run MacOS 10.15 (not Beta).

Interface Builder crashes (iOSRenderServer)

On closing my storyboard with Xcode (by quitting Xcode itself or switching to another file), it makes me awaiting for a while until I do Force Quit.
On opening my storyboard with AppCode, I see the alert about iOSRenderServer just crashed. Well it's the only project with this trouble, and I believe there is some mistakes inside storyboard, but I can't figure out what exactly is wrong.
Somebody have seen this before?
reason: 'MainScreenScale is not valid: 0.000000'
Process: iOSRenderServer [25123]
Path: /Applications/AppCode.app/Contents/plugins/appcode-designer/iOSRenderServer.app/iOSRenderServer
Identifier: iOSRenderServer
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: appcode [25007]
Responsible: appcode [25007]
User ID: 503
Date/Time: 2015-04-12 10:40:12.951 +0300
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Anonymous UUID: 82A2E61F-7F5F-9CDC-F8CC-3AE376F99B61
Sleep/Wake UUID: 38298837-20D2-4686-8D6D-EEC965606B5D
Time Awake Since Boot: 54000 seconds
Time Since Wake: 2400 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'MainScreenScale is not valid: 0.000000'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x000000010d683c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010d31cbb7 objc_exception_throw + 45
2 CoreFoundation 0x000000010d683aca +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010cf31a57 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 169
4 BaseBoard 0x000000010f1c89c1 ___BSMainScreenGetInfo_block_invoke + 351
5 libdispatch.dylib 0x000000010dc91964 _dispatch_client_callout + 8
6 libdispatch.dylib 0x000000010dc7f902 dispatch_once_f + 129
7 BaseBoard 0x000000010f1c8808 BSMainScreenScale + 43
8 FrontBoardServices 0x000000010f156b0e -[FBSDisplay initWithCADisplay:isMainDisplay:seed:tags:scale:] + 234
9 UIKit 0x000000010bba7d02 -[UIApplication __completeAndRunAsPlugin] + 355
10 iOSRenderServer 0x000000010b8b0a61 -[AppDelegate doStart] + 129
11 iOSRenderServer 0x000000010b8b3b84 my_registerAsSystemApp + 132
12 UIKit 0x000000010bba7ad3 -[UIApplication _run] + 302
13 UIKit 0x000000010bbaa900 UIApplicationMain + 1282
14 iOSRenderServer 0x000000010b8b3fa2 main + 962
15 libdyld.dylib 0x000000010dcc1145 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000010dfc9286 __pthread_kill + 10
1 libsystem_sim_c.dylib 0x000000010dd6919a abort + 129
2 libc++abi.dylib 0x000000010db3b481 abort_message + 257
3 libc++abi.dylib 0x000000010db633d5 default_terminate_handler() + 267
4 libobjc.A.dylib 0x000000010d31ce19 _objc_terminate() + 103
5 libc++abi.dylib 0x000000010db60b01 std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x000000010db60b73 std::terminate() + 51
7 libobjc.A.dylib 0x000000010d31cd93 objc_terminate + 9
8 libdispatch.dylib 0x000000010dc91978 _dispatch_client_callout + 28
9 libdispatch.dylib 0x000000010dc7f902 dispatch_once_f + 129
10 com.apple.BaseBoard 0x000000010f1c8808 BSMainScreenScale + 43
11 com.apple.FrontBoardServices 0x000000010f156b0e -[FBSDisplay initWithCADisplay:isMainDisplay:seed:tags:scale:] + 234
12 com.apple.UIKit 0x000000010bba7d02 -[UIApplication __completeAndRunAsPlugin] + 355
13 com.jetbrains.iOSRenderServer 0x000000010b8b0a61 -[AppDelegate doStart] + 129
14 com.jetbrains.iOSRenderServer 0x000000010b8b3b84 my_registerAsSystemApp + 132
15 com.apple.UIKit 0x000000010bba7ad3 -[UIApplication _run] + 302
16 com.apple.UIKit 0x000000010bbaa900 UIApplicationMain + 1282
17 com.jetbrains.iOSRenderServer 0x000000010b8b3fa2 main + 962
18 libdyld.dylib 0x000000010dcc1145 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x000000010dfca232 kevent64 + 10
1 libdispatch.dylib 0x000000010dc81d94 _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x000000010dfc994a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x000000010dff840d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x000000010dfc994a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x000000010dff840d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x000000010dfc994a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x000000010dff840d start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff54355e78 rdx: 0x0000000000000000
rdi: 0x000000000000070b rsi: 0x0000000000000006 rbp: 0x00007fff54355ea0 rsp: 0x00007fff54355e78
r8: 0x0000000000000000 r9: 0x000000010dd8f600 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff54356000 r13: 0x0000000000000000 r14: 0x000000010e001300 r15: 0x00007fff54355ee0
rip: 0x000000010dfc9286 rfl: 0x0000000000000206 cr2: 0x000000010db643b2
Can you check the following
[NSLayoutContraint constraintWithItem ...] method are nil.
You could have switched off auto layout , but adding a constraint to subview via a code.
3.The view hasn't been created in the nib/UIView, but the constraint has been applied, move the Constraint code from the initWithNib method to viewDidLoad.
The storyboard file is a simple text file in XML format. So, if Xcode won't open it, just use a text editor of your choice. Then search the file for MainScreenScale and see if there is something strange.
If you can remember the last edits you made on your storyboard, try to roll them back.
And take care on not to mess up the XML structure. Make a copy of the file first.
Best solution: If you have your project under Source Control, roll back to the last commit.
Well, I figured it out.
After doing something like git-bisect (remove some VCs and its contents until IB stops crashing), the reason was found.
I have my own view as titleView on two screens. I don't know exactly why, but this had been causing my troubles. Moving my own titleView from IB to code stopped these crashes at all.
And for now, it would be great to understand why exactly this happened.
Maybe there is anything wrong implemented inside my view...

Resources