App built with Xcode 11.2 & 11.2.1 crashes on launch

We have an issue where an "Archive" build of our app built with 11.2 or 11.2.1 crashes on launch.


With an Xcode 11.1 Archive the app is fine.


This does not affect Debug builds of the application attached to Xcode directly either.


The following is what shows up as the offending code.


Thread 30 name:
Thread 30 Crashed:
0   libsystem_kernel.dylib         0x0000000183476efc __pthread_kill + 8
1   libsystem_pthread.dylib       0x0000000183396d10 pthread_kill + 196 (pthread.c:1456)
2   libsystem_c.dylib             0x0000000183326a74 abort + 104 (abort.c:110)
3   libswiftCore.dylib             0x0000000190f7b2a4 swift_runtime_unreachable(char const*) + 16 (Unreachable.h:30)
4   libswiftCore.dylib             0x0000000190f7ce34 swift_getWitnessTable + 2128 (Metadata.cpp:0)
5   Plane Finder Beta             0x0000000102f3ca68 closure #1 in closure #1 in AircraftManager.fetchLiveData(bounds:) + 212 (:0)
6   Plane Finder Beta             0x0000000102f1098c thunk for @escaping @callee_guaranteed () -> () + 28 (:0)
7   libdispatch.dylib             0x0000000183330b7c _dispatch_call_block_and_release + 32 (init.c:1408)
8   libdispatch.dylib             0x0000000183331fd8 _dispatch_client_callout + 20 (object.m:495)
9   libdispatch.dylib             0x0000000183334414 _dispatch_queue_override_invoke + 672 (inline_internal.h:2484)
10  libdispatch.dylib             0x0000000183340bd4 _dispatch_root_queue_drain + 348 (inline_internal.h:2525)
11  libdispatch.dylib             0x0000000183341384 _dispatch_worker_thread2 + 120 (queue.c:6628)
12  libsystem_pthread.dylib       0x0000000183397a54 _pthread_wqthread + 216 (pthread.c:2336)
13  libsystem_pthread.dylib       0x000000018339dc7c start_wqthread + 8

FB7432222 has been raised with the full crash log.

That’s an interesting crash. I believe that

swift_runtime_unreachable
is the Swift runtime’s ‘panic’ function, meaning that it’s found itself in a place where it should never be able to be and all it can do is crash your app.

The next step is to look at

swift_getWitnessTable
to see what situation it’s in. Alas, this’s complicated by the fact that we’re not getting a line number in frame 4. Moreover, the code for
swift_getWitnessTable
doesn’t offer any insights, presumably because the actual panic is in a function that’s been inlined into that function.

My recommendation is that you ask about this over on Swift Forums, where you’re more likely to connect up with folks with deeper knowledge about the Swift runtime.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I'm seeing something very similar. I thought it was an optimization issue (because it succeeds in Debug). I'm currently archiving with no optimization to check. I'm also downloading Xcode 11.1 and I'm glad that version is working for you. That's my next step. No changes in the crashing portion of code occurred since the previous (successful) release.

I just want to add a +1 so to speak. I'm also seeing this problem with one of my apps. My crash log:

Incident Identifier: 551A76A3-1F22-47E7-AD63-F0C57998B9A6
CrashReporter Key:   2ea8ef3c40ed5465ec77297551aa18c0d3c2f3c5
Hardware Model:      iPhone12,3
Process:             Slide Designer [553]
Path:                /private/var/containers/Bundle/Application/0FF3945D-4CDE-4CDD-B419-4209E165FEFB/Slide Designer.app/Slide Designer
Identifier:          com.infinitetoken.SlideDesigner
Version:             10 (1.0.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.infinitetoken.SlideDesigner [795]




Date/Time:           2019-11-11 18:29:03.4138 -0600
Launch Time:         2019-11-11 18:29:03.3483 -0600
OS Version:          iPhone OS 13.1.3 (17A878)
Release Type:        User
Baseband Version:    1.01.19
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


Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib         0x00000001c106cef4 __pthread_kill + 8
1   libsystem_pthread.dylib       0x00000001c0f8dd1c pthread_kill + 196
2   libsystem_c.dylib             0x00000001c0f1da54 abort + 104
3   libswiftCore.dylib             0x00000001cea449e4 swift::TargetExistentialTypeMetadata::projectValue+ 3025380 (swift::OpaqueValue const*) const + 0
4   libswiftCore.dylib             0x00000001cea46574 swift_getWitnessTable + 2128
5   Slide Designer                 0x0000000102514bc8 SlideshowsStore.init() + 216008 (:0)
6   Slide Designer                 0x00000001025573d4 specialized SceneDelegate.scene(_:willConnectTo:options:) + 488404 (SceneDelegate.swift:19)
7   Slide Designer                 0x0000000102556e38 @objc SceneDelegate.scene(_:willConnectTo:options:) + 486968 (:0)
8   UIKitCore                     0x00000001c4929ca8 +[UIScene _sceneForFBSScene:create:withSession:connectionOptions:] + 1192
9   UIKitCore                     0x00000001c53134ac -[UIApplication _connectUISceneFromFBSScene:transitionContext:] + 992
10  UIKitCore                     0x00000001c531383c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 340
11  UIKitCore                     0x00000001c4eb8d7c -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 376
12  FrontBoardServices             0x00000001c63eb014 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 452
13  FrontBoardServices             0x00000001c6411bd0 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.168 + 116
14  FrontBoardServices             0x00000001c63f60f8 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
15  FrontBoardServices             0x00000001c6411864 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 344
16  libdispatch.dylib             0x00000001c0f2900c _dispatch_client_callout + 20
17  libdispatch.dylib             0x00000001c0f2bd50 _dispatch_block_invoke_direct + 264
18  FrontBoardServices             0x00000001c6438384 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
19  FrontBoardServices             0x00000001c6438030 -[FBSSerialQueue _queue_performNextIfPossible] + 432
20  FrontBoardServices             0x00000001c643859c -[FBSSerialQueue _performNextFromRunLoopSource] + 32
21  CoreFoundation                 0x00000001c11fd260 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
22  CoreFoundation                 0x00000001c11fd1b4 __CFRunLoopDoSource0 + 84
23  CoreFoundation                 0x00000001c11fc970 __CFRunLoopDoSources0 + 264
24  CoreFoundation                 0x00000001c11f77ec __CFRunLoopRun + 1068
25  CoreFoundation                 0x00000001c11f7098 CFRunLoopRunSpecific + 480
26  GraphicsServices               0x00000001cb361534 GSEventRunModal + 108
27  UIKitCore                     0x00000001c53177ac UIApplicationMain + 1940
28  Slide Designer                 0x00000001024e7488 main + 29832 (AppDelegate.swift:15)
29  libdyld.dylib                 0x00000001c1076f30 start + 4


Thread 1:
0   libsystem_pthread.dylib       0x00000001c0f94c70 start_wqthread + 0


Thread 2:
0   libsystem_pthread.dylib       0x00000001c0f94c70 start_wqthread + 0


Thread 3:
0   libsystem_pthread.dylib       0x00000001c0f94c70 start_wqthread + 0


Thread 4:
0   libsystem_pthread.dylib       0x00000001c0f94c70 start_wqthread + 0


Thread 5:
0   libsystem_pthread.dylib       0x00000001c0f94c70 start_wqthread + 0


Thread 6 name:  com.apple.uikit.eventfetch-thread
Thread 6:
0   libsystem_kernel.dylib         0x00000001c104abc4 mach_msg_trap + 8
1   libsystem_kernel.dylib         0x00000001c1049fe0 mach_msg + 76
2   CoreFoundation                 0x00000001c11fcabc __CFRunLoopServiceMachPort + 220
3   CoreFoundation                 0x00000001c11f7954 __CFRunLoopRun + 1428
4   CoreFoundation                 0x00000001c11f7098 CFRunLoopRunSpecific + 480
5   Foundation                     0x00000001c153c580 -[NSRunLoop+ 34176 (NSRunLoop) runMode:beforeDate:] + 232
6   Foundation                     0x00000001c153c458 -[NSRunLoop+ 33880 (NSRunLoop) runUntilDate:] + 92
7   UIKitCore                     0x00000001c53b2668 -[UIEventFetcher threadMain] + 156
8   Foundation                     0x00000001c153b1e4 -[NSThread main] + 40
9   Foundation                     0x00000001c1676a84 __NSThread__start__ + 852
10  libsystem_pthread.dylib       0x00000001c0f8cd5c _pthread_start + 128
11  libsystem_pthread.dylib       0x00000001c0f94c84 thread_start + 8


Thread 7:
0   libsystem_pthread.dylib       0x00000001c0f94c70 start_wqthread + 0


Thread 8:
0   libsystem_pthread.dylib       0x00000001c0f94c70 start_wqthread + 0


ngSupport.framework/LoggingSupport
0x1db87c000 - 0x1db8d7fff ProtectedCloudStorage arm64e  <300e1a077b6c3b11b65d50cdeb8b53a4> /System/Library/PrivateFrameworks/ProtectedCloudStorage.framework/ProtectedCloudStorage
0x1db9c6000 - 0x1db9d1fff OpenGLES arm64e  <702b7aef0c6833d395c8496af15d07dd> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x1dbb3b000 - 0x1dbb44fff libGFXShared.dylib arm64e   /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x1dbb45000 - 0x1dbb79fff SharedUtils arm64e   /System/Library/Frameworks/LocalAuthentication.framework/Support/SharedUtils.framework/SharedUtils
0x1dcc6f000 - 0x1dccabfff StreamingZip arm64e  <5e336c546bf53392a17b8875760807ce> /System/Library/PrivateFrameworks/StreamingZip.framework/StreamingZip
0x1ddbd3000 - 0x1ddbd5fff InternationalTextSearch arm64e  <67efb041157e3a1588983b11c121632d> /System/Library/PrivateFrameworks/InternationalTextSearch.framework/InternationalTextSearch
0x1de5c0000 - 0x1de5d8fff NetworkStatistics arm64e  <7d5b038d755f3f1b9730786aa581ce52> /System/Library/PrivateFrameworks/NetworkStatistics.framework/NetworkStatistics
0x1dea47000 - 0x1dea4dfff Netrb arm64e  <181d438cbd1c346d914badbe1f776de1> /System/Library/PrivateFrameworks/Netrb.framework/Netrb
0x1dea51000 - 0x1dea81fff EAP8021X arm64e  <018a579ceefc3e1a9ec8107ad82b7004> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x1dea82000 - 0x1dea84fff OSAServicesClient arm64e  <7966858bf8f8384eb7eaba6d5a8dee35> /System/Library/PrivateFrameworks/OSAServicesClient.framework/OSAServicesClient
0x1dec28000 - 0x1dec2cfff libgermantok.dylib arm64e  <0f199acc0f5d37aea1e995c1e859c4c6> /usr/lib/libgermantok.dylib
0x1dec2d000 - 0x1dece0fff libmecab.dylib arm64e   /usr/lib/libmecab.dylib
0x1df2df000 - 0x1df2edfff CoreDuetDaemonProtocol arm64e  <5fd40e5ba6313dc4892b1f910d9038d8> /System/Library/PrivateFrameworks/CoreDuetDaemonProtocol.framework/CoreDuetDaemonProtocol
0x1e031f000 - 0x1e0321fff OAuth arm64e  <8a810004f7f43d7dad3e3555bf9230e4> /System/Library/PrivateFrameworks/OAuth.framework/OAuth
0x1e0def000 - 0x1e0e5ffff libarchive.2.dylib arm64e  <87025e7a53043890a7f0bf34f1da4432> /usr/lib/libarchive.2.dylib
0x1e0e60000 - 0x1e0e8ffff C2 arm64e  <125104cd2ff63f07ad47d76d2d28046f> /System/Library/PrivateFrameworks/C2.framework/C2
0x1e0e90000 - 0x1e0ec4fff NaturalLanguage arm64e   /System/Library/Frameworks/NaturalLanguage.framework/NaturalLanguage
0x1e0f5a000 - 0x1e0f5bfff libsystem_coreservices.dylib arm64e  <62efb55b6fb2355181d65985144da65d> /usr/lib/system/libsystem_coreservices.dylib
0x1e0f6d000 - 0x1e0f7efff libmis.dylib arm64e   /usr/lib/libmis.dylib
0x1e117c000 - 0x1e1184fff libcopyfile.dylib arm64e   /usr/lib/system/libcopyfile.dylib
0x1e14e7000 - 0x1e1579fff AccountsDaemon arm64e  <9de20c2bd7b2381baaffdbaa44beda17> /System/Library/PrivateFrameworks/AccountsDaemon.framework/AccountsDaemon
0x1e157a000 - 0x1e1585fff AppleIDSSOAuthentication arm64e   /System/Library/PrivateFrameworks/AppleIDSSOAuthentication.framework/AppleIDSSOAuthentication
0x1e16c0000 - 0x1e173dfff Symbolication arm64e  <64e12c95c71b3080b5f49bb7b492d374> /System/Library/PrivateFrameworks/Symbolication.framework/Symbolication
0x1e1901000 - 0x1e1950fff ChunkingLibrary arm64e  <70e30c0e35cb33e0a8a11c141b7760a8> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/ChunkingLibrary
0x1e1e5f000 - 0x1e1e61fff CoreDuetDebugLogging arm64e   /System/Library/PrivateFrameworks/CoreDuetDebugLogging.framework/CoreDuetDebugLogging
0x1e2960000 - 0x1e299efff SignpostSupport arm64e   /System/Library/PrivateFrameworks/SignpostSupport.framework/SignpostSupport
0x1e2bdf000 - 0x1e2be8fff SignpostCollection arm64e   /System/Library/PrivateFrameworks/SignpostCollection.framework/SignpostCollection
0x1e3335000 - 0x1e333cfff URLFormatting arm64e  <22638e420fc23b1fbf7cd0c2698b5c7b> /System/Library/PrivateFrameworks/URLFormatting.framework/URLFormatting
0x1e3453000 - 0x1e367efff MobileSpotlightIndex arm64e   /System/Library/PrivateFrameworks/MobileSpotlightIndex.framework/MobileSpotlightIndex
0x1e3a7a000 - 0x1e3ac1fff CoreLocationProtobuf arm64e  <7670d13e0e9b32208f9ff00afd2c1547> /System/Library/PrivateFrameworks/CoreLocationProtobuf.framework/CoreLocationProtobuf
0x1e3b4f000 - 0x1e3bcafff Quagga arm64e  <6395c719ab773d9395757decaa9693e3> /System/Library/PrivateFrameworks/Quagga.framework/Quagga
0x1e3edd000 - 0x1e3ef1fff libEDR arm64e  <3418f5ad9482391e86214d7da413f70c> /System/Library/PrivateFrameworks/libEDR.framework/libEDR
0x1e4b33000 - 0x1e4b41fff libperfcheck.dylib arm64e  <65fa28c4026c39f5ba309f9e7c62cf4f> /usr/lib/libperfcheck.dylib
0x1e4b42000 - 0x1e4b4dfff libAudioStatistics.dylib arm64e   /usr/lib/libAudioStatistics.dylib
0x1e4d0d000 - 0x1e4d1dfff caulk arm64e   /System/Library/PrivateFrameworks/caulk.framework/caulk
0x1e4d5d000 - 0x1e4d63fff MobileSystemServices arm64e  <1c6232e16abc3a809157f27c8f0316a4> /System/Library/PrivateFrameworks/MobileSystemServices.framework/MobileSystemServices
0x1e5e46000 - 0x1e5e82fff libGLImage.dylib arm64e  <40476c4fdcbb38ccb06885af767a2a62> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x1e62bc000 - 0x1e62cdfff libSparseBLAS.dylib arm64e  <328e22435fb338b8bb20fd740eccc01c> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libSparseBLAS.dylib
0x1e62ce000 - 0x1e62e2fff Engram arm64e  <42d74263c9833bc08c507b0526593889> /System/Library/PrivateFrameworks/Engram.framework/Engram
0x1e635d000 - 0x1e6398fff DataDetectorsNaturalLanguage arm64e  <5d57d312a07030adbd1b8a472d9c8b01> /System/Library/PrivateFrameworks/DataDetectorsNaturalLanguage.framework/DataDetectorsNaturalLanguage
0x1e66a2000 - 0x1e6721fff CoreDAV arm64e   /System/Library/PrivateFrameworks/CoreDAV.framework/CoreDAV
0x1e702d000 - 0x1e703dfff RemoteTextInput arm64e  <413eddd2de853186b654983723b68524> /System/Library/PrivateFrameworks/RemoteTextInput.framework/RemoteTextInput
0x1e7066000 - 0x1e7096fff iCalendar arm64e  <5ee0e6556cd133a9bf65125c0c2a91dd> /System/Library/PrivateFrameworks/iCalendar.framework/iCalendar
0x1e70fc000 - 0x1e7110fff libLinearAlgebra.dylib arm64e   /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLinearAlgebra.dylib
0x1e73ba000 - 0x1e73c8fff CoreAUC arm64e  <625babb086c2316c8b61c736c7ef33c4> /System/Library/PrivateFrameworks/CoreAUC.framework/CoreAUC
0x1e7e03000 - 0x1e7e4afff PhysicsKit arm64e  <24933c9f5cd93de28a52a8d2e85f1df6> /System/Library/PrivateFrameworks/PhysicsKit.framework/PhysicsKit
0x1e7e4b000 - 0x1e7e9dfff CorePrediction arm64e  <1eec72976aa43d778f5945e152b1d7b1> /System/Library/PrivateFrameworks/CorePrediction.framework/CorePrediction
0x1e82ed000 - 0x1e8335fff SafariSafeBrowsing arm64e   /System/Library/PrivateFrameworks/SafariSafeBrowsing.framework/SafariSafeBrowsing
0x1e87f2000 - 0x1e8810fff GenerationalStorage arm64e  <62db70b3bcc0380a93039eac8c83f1a0> /System/Library/PrivateFrameworks/GenerationalStorage.framework/GenerationalStorage
0x1e8875000 - 0x1e8880fff PersonaKit arm64e   /System/Library/PrivateFrameworks/PersonaKit.framework/PersonaKit
0x1e8c9d000 - 0x1e8ca2fff kperf arm64e  <67921ebb9b0c3ec2847ce00eb8a8d1b6> /System/Library/PrivateFrameworks/kperf.framework/kperf
0x1e8e73000 - 0x1e8eaafff libpcap.A.dylib arm64e  <93abeafa93953f76bd95a57443580200> /usr/lib/libpcap.A.dylib
0x1e91ea000 - 0x1e9290fff libvDSP.dylib arm64e  <9e7ceedfde2c3432aa5cf73999e05dd2> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x1e9291000 - 0x1e92bdfff vCard arm64e   /System/Library/PrivateFrameworks/vCard.framework/vCard
0x1e9300000 - 0x1e938dfff SampleAnalysis arm64e  <48de37f04dcf347fbc3d3069cdd66c8d> /System/Library/PrivateFrameworks/SampleAnalysis.framework/SampleAnalysis
0x1e938e000 - 0x1e9399fff IntentsFoundation arm64e  <62acc39c9a1d3816b292309ec178fa91> /System/Library/PrivateFrameworks/IntentsFoundation.framework/IntentsFoundation
0x1e9bde000 - 0x1e9bdefff Accelerate arm64e   /System/Library/Frameworks/Accelerate.framework/Accelerate
0x1e9be0000 - 0x1e9f1dfff libLAPACK.dylib arm64e   /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x1e9f1e000 - 0x1e9f22fff libQuadrature.dylib arm64e  <541a519ace41385b9d84b4af10b39213> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libQuadrature.dylib
0x1e9f23000 - 0x1e9f7cfff libvMisc.dylib arm64e   /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
0x1e9f7d000 - 0x1e9f7dfff vecLib arm64e  <5320a9f197cc319b9fc7c76e84da2491> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x1e9fd7000 - 0x1ea0e1fff Combine arm64e  <2c7e541042ba36c4b8e427ad748d6b0b> /System/Library/Frameworks/Combine.framework/Combine
0x1ea339000 - 0x1ea366fff GSS arm64e  <61287c2c4a4d3ea7854daa7acbbf3435> /System/Library/Frameworks/GSS.framework/GSS
0x1ea37a000 - 0x1ea3acfff MPSCore arm64e   /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/MPSCore
0x1ea3ad000 - 0x1ea426fff MPSImage arm64e  <5627b80e55e83480b5b0dae1bc071ae9> /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSImage.framework/MPSImage
0x1ea427000 - 0x1ea449fff MPSMatrix arm64e   /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSMatrix.framework/MPSMatrix
0x1ea44a000 - 0x1ea45efff MPSNDArray arm64e  <63ebbd974b273e1298d81166541870a5> /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNDArray.framework/MPSNDArray
0x1ea45f000 - 0x1ea5f4fff MPSNeuralNetwork arm64e  <1d04f375820e3b909884eab7c82fbf08> /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNeuralNetwork.framework/MPSNeuralNetwork
0x1ea5f5000 - 0x1ea63afff MPSRayIntersector arm64e   /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/MPSRayIntersector
0x1ea63b000 - 0x1ea63bfff MetalPerformanceShaders arm64e   /System/Library/Frameworks/MetalPerformanceShaders.framework/MetalPerformanceShaders
0x1ea648000 - 0x1ea648fff MobileCoreServices arm64e   /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x1ea653000 - 0x1ea654fff libCVMSPluginSupport.dylib arm64e   /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x1ea655000 - 0x1ea65bfff libCoreFSCache.dylib arm64e  <37f349c974f930c6bf872f8a1d5ce8be> /System/Library/Frameworks/OpenGLES.framework/libCoreFSCache.dylib
0x1ea65c000 - 0x1ea661fff libCoreVMClient.dylib arm64e  <6507dea92aae3de8a002f2d9a475e07e> /System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
0x1ea696000 - 0x1ea6ccfff QuickLookThumbnailing arm64e   /System/Library/Frameworks/QuickLookThumbnailing.framework/QuickLookThumbnailing
0x1eab3e000 - 0x1eab3efff UIKit arm64e   /System/Library/Frameworks/UIKit.framework/UIKit
0x1eaef8000 - 0x1eb030fff ANECompiler arm64e  <2f663fe7cd863aeb9e8c83696336371a> /System/Library/PrivateFrameworks/ANECompiler.framework/ANECompiler
0x1eb031000 - 0x1eb042fff ANEServices arm64e   /System/Library/PrivateFrameworks/ANEServices.framework/ANEServices
0x1eb0dd000 - 0x1eb0e1fff ASEProcessing arm64e  <230084eda99e3404ae36c4ec1afd8e63> /System/Library/PrivateFrameworks/ASEProcessing.framework/ASEProcessing
0x1eb27d000 - 0x1eb288fff AccountSettings arm64e  <1d8c3c51334935e284f2e20dccd10943> /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x1ebc79000 - 0x1ebc87fff AppleFSCompression arm64e  <2d9cebf822963598a1a9c79949d7ed82> /System/Library/PrivateFrameworks/AppleFSCompression.framework/AppleFSCompression
0x1ebc8e000 - 0x1ebc98fff AppleIDAuthSupport arm64e  <9c5c840287d338fda168939769a2bced> /System/Library/PrivateFrameworks/AppleIDAuthSupport.framework/AppleIDAuthSupport
0x1ebc99000 - 0x1ebcdbfff AppleJPEG arm64e  <79a818f233f933da8883b061a07a9b7f> /System/Library/PrivateFrameworks/AppleJPEG.framework/AppleJPEG
0x1ebcf7000 - 0x1ebd08fff AppleNeuralEngine arm64e  <258f9f4ee31c34b8abe2357d49c1d492> /System/Library/PrivateFrameworks/AppleNeuralEngine.framework/AppleNeuralEngine
0x1ebd0f000 - 0x1ebd32fff AppleSauce arm64e  <4837b25d7836325dae7599489c5cd809> /System/Library/PrivateFrameworks/AppleSauce.framework/AppleSauce
0x1ebde5000 - 0x1ebe23fff AttributeGraph arm64e  <11deed5d23d33aef8b14499c46d1f299> /System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph
0x1ebf33000 - 0x1ebf63fff Bom arm64e  <11103b9e286338f2b5b59081d28b6ddd> /System/Library/PrivateFrameworks/Bom.framework/Bom
0x1ec9f5000 - 0x1ec9f5fff CombineCocoa arm64e   /System/Library/PrivateFrameworks/CombineCocoa.framework/CombineCocoa
0x1ec9f6000 - 0x1ec9fdfff CommonAuth arm64e   /System/Library/PrivateFrameworks/CommonAuth.framework/CommonAuth
0x1ece2b000 - 0x1ece2efff CoreOptimization arm64e  <875ade7864a736f1af291a226583afd4> /System/Library/PrivateFrameworks/CoreOptimization.framework/CoreOptimization
0x1ecf49000 - 0x1ecf54fff DeviceIdentity arm64e  <8d58ebaafda93e3d83c111a9910872f7> /System/Library/PrivateFrameworks/DeviceIdentity.framework/DeviceIdentity
0x1ed0e5000 - 0x1ed100fff DocumentManagerCore arm64e  <6926e11b034035f392cde2453d7b0c5f> /System/Library/PrivateFrameworks/DocumentManagerCore.framework/DocumentManagerCore
0x1ed1c1000 - 0x1ed77dfff Espresso arm64e   /System/Library/PrivateFrameworks/Espresso.framework/Espresso
0x1eda4e000 - 0x1ede61fff FaceCore arm64e  <8ad0d68b4abd3a0bbdfb1d05b1599d33> /System/Library/PrivateFrameworks/FaceCore.framework/FaceCore
0x1edf36000 - 0x1edf49fff libGSFontCache.dylib arm64e  <95e7d15348ae3f39a79e27b22d38310c> /System/Library/PrivateFrameworks/FontServices.framework/libGSFontCache.dylib
0x1edfb0000 - 0x1edfbcfff libhvf.dylib arm64e  <0292acc17fae38d8b9e5e9481faee212> /System/Library/PrivateFrameworks/FontServices.framework/libhvf.dylib
0x1eecf9000 - 0x1eed05fff GraphVisualizer arm64e  <70712b0f09253ad69e12a16f2325cbbb> /System/Library/PrivateFrameworks/GraphVisualizer.framework/GraphVisualizer
0x1ef685000 - 0x1ef6f5fff Heimdal arm64e   /System/Library/PrivateFrameworks/Heimdal.framework/Heimdal
0x1efc28000 - 0x1efc2efff InternationalSupport arm64e  <792be37f42e738e2a85f940e589904ad> /System/Library/PrivateFrameworks/InternationalSupport.framework/InternationalSupport
0x1efeef000 - 0x1efeeffff Marco arm64e   /System/Library/PrivateFrameworks/Marco.framework/Marco
0x1f03f3000 - 0x1f0405fff MobileDeviceLink arm64e   /System/Library/PrivateFrameworks/MobileDeviceLink.framework/MobileDeviceLink
0x1f06bd000 - 0x1f06fdfff OTSVG arm64e   /System/Library/PrivateFrameworks/OTSVG.framework/OTSVG
0x1f0d81000 - 0x1f0d81fff PhoneNumbers arm64e  <7e38d788f45631b592f24c1815b4425d> /System/Library/PrivateFrameworks/PhoneNumbers.framework/PhoneNumbers
0x1f2727000 - 0x1f277bfff RenderBox arm64e  <2004c9da98733be8ace64d43acba8ae2> /System/Library/PrivateFrameworks/RenderBox.framework/RenderBox
0x1f277c000 - 0x1f2780fff RevealCore arm64e   /System/Library/PrivateFrameworks/RevealCore.framework/RevealCore
0x1f2918000 - 0x1f2924fff SetupAssistantSupport arm64e  <67af340cbb44383abea532d69c051c4d> /System/Library/PrivateFrameworks/SetupAssistantSupport.framework/SetupAssistantSupport
0x1f2943000 - 0x1f2943fff SignpostMetrics arm64e  <8491b11f8bdd35b5a2341b5dbfaf3e7a> /System/Library/PrivateFrameworks/SignpostMetrics.framework/SignpostMetrics
0x1f3238000 - 0x1f32dcfff TextureIO arm64e   /System/Library/PrivateFrameworks/TextureIO.framework/TextureIO
0x1f411e000 - 0x1f461bfff libwebrtc.dylib arm64e   /System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib
0x1f47b5000 - 0x1f47bdfff kperfdata arm64e  <268ed5f452853e16970edd86308648e6> /System/Library/PrivateFrameworks/kperfdata.framework/kperfdata
0x1f47be000 - 0x1f4807fff ktrace arm64e  <6ae5fc68b5c43669a7966bc0dbfb906a> /System/Library/PrivateFrameworks/ktrace.framework/ktrace
0x1f4820000 - 0x1f482cfff perfdata arm64e  <2f57b5d4778c3edeaff896eb3f1ae0a4> /System/Library/PrivateFrameworks/perfdata.framework/perfdata
0x1f482d000 - 0x1f483bfff zudp arm64e  <5bd9dbe3109c3c31a698f8d10a4704ce> /System/Library/PrivateFrameworks/zudp.framework/zudp
0x1f4c03000 - 0x1f4f04fff libAWDSupportFramework.dylib arm64e   /usr/lib/libAWDSupportFramework.dylib
0x1f50b6000 - 0x1f50c0fff libChineseTokenizer.dylib arm64e  <8e294bf75bd03ac0b337808c053718a2> /usr/lib/libChineseTokenizer.dylib
0x1f50e5000 - 0x1f52a9fff libFosl_dynamic.dylib arm64e   /usr/lib/libFosl_dynamic.dylib
0x1f5326000 - 0x1f532dfff libMatch.1.dylib arm64e   /usr/lib/libMatch.1.dylib
0x1f53df000 - 0x1f53e0fff libSystem.B.dylib arm64e   /usr/lib/libSystem.B.dylib
0x1f53e9000 - 0x1f53eafff libThaiTokenizer.dylib arm64e  <5714b83e0221351eaed33967533ee8ac> /usr/lib/libThaiTokenizer.dylib
0x1f54ea000 - 0x1f54fffff libapple_nghttp2.dylib arm64e  <20c588bb07ca3f33a0128400556f5576> /usr/lib/libapple_nghttp2.dylib
0x1f5578000 - 0x1f5588fff libbsm.0.dylib arm64e   /usr/lib/libbsm.0.dylib
0x1f5589000 - 0x1f5595fff libbz2.1.0.dylib arm64e  <6b253115be113d3a98728dccc97b5bb4> /usr/lib/libbz2.1.0.dylib
0x1f5596000 - 0x1f5596fff libcharset.1.dylib arm64e   /usr/lib/libcharset.1.dylib
0x1f5597000 - 0x1f55a8fff libcmph.dylib arm64e  <3518804827d43966a3680ff1d59cc23e> /usr/lib/libcmph.dylib
0x1f55a9000 - 0x1f55c0fff libcompression.dylib arm64e   /usr/lib/libcompression.dylib
0x1f55c1000 - 0x1f55c2fff libcoretls_cfhelpers.dylib arm64e   /usr/lib/libcoretls_cfhelpers.dylib
0x1f55c3000 - 0x1f55c9fff libcupolicy.dylib arm64e  <83f09dda7f83394bb7c19fbacf9d73e4> /usr/lib/libcupolicy.dylib
0x1f560a000 - 0x1f5613fff libdscsym.dylib arm64e  <5d63488dd8793920b7e07d32b6702938> /usr/lib/libdscsym.dylib
0x1f564b000 - 0x1f5650fff libheimdal-asn1.dylib arm64e  <48250f2339a03afd89a1f299c63b6c7f> /usr/lib/libheimdal-asn1.dylib
0x1f5651000 - 0x1f5743fff libiconv.2.dylib arm64e   /usr/lib/libiconv.2.dylib
0x1f5759000 - 0x1f5764fff liblockdown.dylib arm64e  <67069c6e24c03429bcc947e9e37219b8> /usr/lib/liblockdown.dylib
0x1f577e000 - 0x1f5796fff liblzma.5.dylib arm64e  <8f71f57782fc37129edf4e65a4ba057f> /usr/lib/liblzma.5.dylib
0x1f5b11000 - 0x1f5b41fff libncurses.5.4.dylib arm64e  <7f2d88671e0c3059a800ef9cbd1237bb> /usr/lib/libncurses.5.4.dylib
0x1f5b42000 - 0x1f5b56fff libnetworkextension.dylib arm64e  <6a7f46a0ca633f42808eba6390024d46> /usr/lib/libnetworkextension.dylib
0x1f5ee2000 - 0x1f5efafff libresolv.9.dylib arm64e  <547a0667b3403e76af0de0ae6b64e3c9> /usr/lib/libresolv.9.dylib
0x1f5efb000 - 0x1f5efdfff libsandbox.1.dylib arm64e  <6510d9eb36023e1d967bd1a42a84e614> /usr/lib/libsandbox.1.dylib
0x1f5f04000 - 0x1f5f35fff libtidy.A.dylib arm64e   /usr/lib/libtidy.A.dylib
0x1f5f6e000 - 0x1f5f7ffff libz.1.dylib arm64e   /usr/lib/libz.1.dylib
0x1f5fcb000 - 0x1f6005fff libswiftAccelerate.dylib arm64e  <7e06bbde64be362f9b0b353271821b67> /usr/lib/swift/libswiftAccelerate.dylib
0x1f6036000 - 0x1f6043fff libswiftCoreAudio.dylib arm64e   /usr/lib/swift/libswiftCoreAudio.dylib
0x1f6044000 - 0x1f604bfff libswiftCoreData.dylib arm64e  <60e521223547388cb3572cf00915e893> /usr/lib/swift/libswiftCoreData.dylib
0x1f604c000 - 0x1f6050fff libswiftCoreFoundation.dylib arm64e  <5def5c6a535f384fba05f6955e2a8664> /usr/lib/swift/libswiftCoreFoundation.dylib
0x1f6051000 - 0x1f605ffff libswiftCoreGraphics.dylib arm64e   /usr/lib/swift/libswiftCoreGraphics.dylib
0x1f6060000 - 0x1f6064fff libswiftCoreImage.dylib arm64e  <08bac19d9e9933b9b0c991e26edb2c00> /usr/lib/swift/libswiftCoreImage.dylib
0x1f6077000 - 0x1f60b9fff libswiftCoreMedia.dylib arm64e   /usr/lib/swift/libswiftCoreMedia.dylib
0x1f60ba000 - 0x1f60c3fff libswiftDarwin.dylib arm64e   /usr/lib/swift/libswiftDarwin.dylib
0x1f60c4000 - 0x1f60e0fff libswiftDispatch.dylib arm64e   /usr/lib/swift/libswiftDispatch.dylib
0x1f60e1000 - 0x1f6271fff libswiftFoundation.dylib arm64e  <983ab68c14ce33589ea762aece0a07cc> /usr/lib/swift/libswiftFoundation.dylib
0x1f62aa000 - 0x1f62b1fff libswiftMetal.dylib arm64e  <49505ca11ca43523a3ec2afe4ea1f30f> /usr/lib/swift/libswiftMetal.dylib
0x1f6326000 - 0x1f632cfff libswiftObjectiveC.dylib arm64e   /usr/lib/swift/libswiftObjectiveC.dylib
0x1f6336000 - 0x1f633bfff libswiftQuartzCore.dylib arm64e  <4f6b90486b2634769ec92c36ca48bb29> /usr/lib/swift/libswiftQuartzCore.dylib
0x1f6378000 - 0x1f638cfff libswiftUIKit.dylib arm64e   /usr/lib/swift/libswiftUIKit.dylib
0x1f639d000 - 0x1f63a5fff libswiftos.dylib arm64e  <58a8eb2a8a733f6f8628ba82edbf0cb2> /usr/lib/swift/libswiftos.dylib
0x1f63a6000 - 0x1f63c0fff libswiftsimd.dylib arm64e  <4d8a4d94a49234acbbb6475214db704e> /usr/lib/swift/libswiftsimd.dylib
0x1f63c1000 - 0x1f63c6fff libcache.dylib arm64e  <2dddbc36aa7732c0b95056290ae4eb5a> /usr/lib/system/libcache.dylib
0x1f63c7000 - 0x1f63d7fff libcommonCrypto.dylib arm64e  <7925a57ae194355ea75633fb5fb3311f> /usr/lib/system/libcommonCrypto.dylib
0x1f63d8000 - 0x1f63dbfff libcompiler_rt.dylib arm64e  <0d4001df92c13e228a2a9f5b1b00ed08> /usr/lib/system/libcompiler_rt.dylib
0x1f64b2000 - 0x1f64b2fff liblaunch.dylib arm64e   /usr/lib/system/liblaunch.dylib
0x1f64b3000 - 0x1f64b8fff libmacho.dylib arm64e  <39c6830065b53de4b67e8a1ea71cf80d> /usr/lib/system/libmacho.dylib
0x1f64b9000 - 0x1f64bafff libremovefile.dylib arm64e  <7e5f05477aa23c14be26a918f669f1a4> /usr/lib/system/libremovefile.dylib
0x1f64bb000 - 0x1f64bcfff libsystem_featureflags.dylib arm64e  <6a91c6101f8d31a39361086939778789> /usr/lib/system/libsystem_featureflags.dylib
0x1f64bd000 - 0x1f64eafff libsystem_m.dylib arm64e  <69aafc9e28c133999dd9b5b93d3c21a9> /usr/lib/system/libsystem_m.dylib
0x1f64eb000 - 0x1f64f0fff libunwind.dylib arm64e  <18bdcd9f8dd332f4abd51ebcb12586c7> /usr/lib/system/libunwind.dylib
0x1f67d2000 - 0x1f6841fff NanoRegistry arm64e   /System/Library/PrivateFrameworks/NanoRegistry.framework/NanoRegistry
0x1f6842000 - 0x1f684ffff NanoPreferencesSync arm64e   /System/Library/PrivateFrameworks/NanoPreferencesSync.framework/NanoPreferencesSync
0x1f774a000 - 0x1f7facfff SwiftUI arm64e  <7e4aa2a0b0363c9ea02756ff0e5754ca> /System/Library/Frameworks/SwiftUI.framework/SwiftUI


EOF

It appears that disabling dead code stripping fixed this issue for me:



Here is the webpage I found that suggested the fix:

https://github.com/realm/realm-cocoa/issues/6326

I am not using Realm in my application but it fixed my issue anyways.

I've been having the same problems.


I've produced a minimal test case at https://github.com/MichaelShaw/UITestMinimal as well as posted on the Swift forums at https://forums.swift.org/t/xcode-11-2-1-swift-getwitnesstable-runtime-crash-includes-minimal-test-case/30699


Joe_Groff's work around of DEAD_CODE_STRIPPING = NO works for my test cases.

App built with Xcode 11.2 &amp; 11.2.1 crashes on launch
 
 
Q