New project ejected stuck in spashscreen


#1

I have ejected a new expo project. Once launched onto an IOS Simulator, it stucks on the splashscreen.

XCode error log:

2019-02-14 16:31:18.951334+0800 testeject[19026:173443] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2019-02-14 16:31:18.951489+0800 testeject[19026:173443] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2019-02-14 16:31:18.983491+0800 testeject[19026:173443] Expo iOS Runtime Version 32.0.0
2019-02-14 16:31:19.009399+0800 testeject[19026:173443] *** Assertion failure in -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:], /Users/bing/Documents/Projects/Tutorial/TestEject/ios/Pods/ExpoKit/ios/Exponent/Kernel/Core/EXKernelAppRegistry.m:30
2019-02-14 16:31:19.044345+0800 testeject[19026:173443] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot register an app with no manifest URL'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001120ed1bb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000110805735 objc_exception_throw + 48
	2   CoreFoundation                      0x00000001120ecf42 +[NSException raise:format:arguments:] + 98
	3   Foundation                          0x000000010ce4d877 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
	4   testeject                           0x0000000107f75a42 -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:] + 322
	5   testeject                           0x0000000107f73386 -[EXKernel createNewAppWithUrl:initialProps:] + 118
	6   testeject                           0x0000000107fc6a81 -[EXViewController createRootAppAndMakeVisible] + 385
	7   testeject                           0x0000000107fc6613 -[EXViewController viewDidLoad] + 195
	8   UIKitCore                           0x000000011ae4c4e1 -[UIViewController loadViewIfRequired] + 1186
	9   UIKitCore                           0x000000011ae4c940 -[UIViewController view] + 27
	10  UIKitCore                           0x000000011b4a3c53 -[UIWindow addRootViewControllerViewIfPossible] + 122
	11  UIKitCore                           0x000000011b4a436e -[UIWindow _setHidden:forced:] + 294
	12  UIKitCore                           0x000000011b4b75c0 -[UIWindow makeKeyAndVisible] + 42
	13  testeject                           0x0000000107fafa57 -[EXStandaloneAppDelegate _setUpUserInterfaceForApplication:withLaunchOptions:] + 679
	14  testeject                           0x0000000107faf6b0 -[EXStandaloneAppDelegate application:didFinishLaunchingWithOptions:] + 128
	15  testeject                           0x0000000107b3c1f1 -[AppDelegate application:didFinishLaunchingWithOptions:] + 113
	16  UIKitCore                           0x000000011b462bde -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 280
	17  UIKitCore                           0x000000011b4645cb -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3979
	18  UIKitCore                           0x000000011b469c2f -[UIApplication _runWithMainScene:transitionContext:completion:] + 1623
	19  UIKitCore                           0x000000011ac884e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
	20  UIKitCore                           0x000000011ac9129c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
	21  UIKitCore                           0x000000011ac88126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
	22  UIKitCore                           0x000000011ac88ae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
	23  UIKitCore                           0x000000011ac86cb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
	24  UIKitCore                           0x000000011ac8695f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
	25  UIKitCore                           0x000000011ac8ba90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
	26  UIKitCore                           0x000000011ac8c80e _performActionsWithDelayForTransitionContext + 100
	27  UIKitCore                           0x000000011ac8b7ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
	28  UIKitCore                           0x000000011ac9093a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
	29  UIKitCore                           0x000000011b46844e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
	30  UIKitCore                           0x000000011b00cd09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
	31  FrontBoardServices                  0x0000000118f7c2da -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
	32  FrontBoardServices                  0x0000000118f87443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
	33  FrontBoardServices                  0x0000000118f86b3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
	34  libdispatch.dylib                   0x00000001131b0602 _dispatch_client_callout + 8
	35  libdispatch.dylib                   0x00000001131b3b78 _dispatch_block_invoke_direct + 301
	36  FrontBoardServices                  0x0000000118fbbba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	37  FrontBoardServices                  0x0000000118fbb860 -[FBSSerialQueue _performNext] + 457
	38  FrontBoardServices                  0x0000000118fbbe40 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
	39  CoreFoundation                      0x0000000112052721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	40  CoreFoundation                      0x0000000112051f93 __CFRunLoopDoSources0 + 243
	41  CoreFoundation                      0x000000011204c63f __CFRunLoopRun + 1263
	42  CoreFoundation                      0x000000011204be11 CFRunLoopRunSpecific + 625
	43  GraphicsServices                    0x00000001145a01dd GSEventRunModal + 62
	44  UIKitCore                           0x000000011b46b81d UIApplicationMain + 140
	45  testeject                           0x0000000107b3c150 main + 112
	46  libdyld.dylib                       0x0000000113226575 start + 1
	47  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

Project Specs:
MacOS: 10.14.3
Simulator: iPhoneX - 12.1
CommnandLine Tools: Xcode 10.1
Expo-CLI: 2.10.1
Expo: ^32.0.0
ExpoKit: ^32.0.6
React: 16.5.0
React-Native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz

Steps to reproduce:

expo init TestEjectProject
blank
advanced (experimental)
expo  eject
with expokit
cd ios
pod install
cd .. && expo start

After building the project from XCode and launched, stucked on splashscreen and error log produced above


#2

Me too, I need solve problem, I using
Expo-CLI: 2.9.0
Expo: ^31.0.0
ExpoKit: ^31.0.2
React: 16.5.0


#3

Hey @bing2609 and @b.guerrero

I followed your steps to reproduce and was able to get the simulator working correctly, so there may be something that has been changed in your app.json file?

Also, after running expo start in the CLI from your TestEjectProject directory, try following the steps here https://docs.expo.io/versions/latest/expokit/expokit/#3-ios-configure-build-and-run (opening project’s xcworkspace file in Xcode, then running project on simulator through there).

Keep me posted!


#4

Thank you for your reply.
I have retried the steps which you have recommended, and still couldn’t manage to get it running on the iOS simulator.

My current app.json

{
  "expo": {
    "name": "TestEjectProject",
    "slug": "TestEjectProject",
    "privacy": "public",
    "sdkVersion": "32.0.0",
    "platforms": [
      "ios",
      "android"
    ],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.test.ejectproject",
      "publishBundlePath": "ios/testejectproject/Supporting/shell-app.bundle",
      "publishManifestPath": "ios/testejectproject/Supporting/shell-app-manifest.json"
    },
    "android": {
      "package": "com.test.ejectproject",
      "publishBundlePath": "android/app/src/main/assets/shell-app.bundle",
      "publishManifestPath": "android/app/src/main/assets/shell-app-manifest.json"
    },
    "isDetached": true,
    "detach": {
      "iosExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.10.2-sdk32.0.0-c59c23cd-1d49-49d2-a633-d03f9d554cf6.tar.gz",
      "androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v2.10.6-sdk32.0.0-83a07c97-312f-4bbf-8b19-5c609bc3c386.tar.gz"
    },
    "scheme": "exp908711b1354d42e1893bb3137c2e74cb"
  }
}

After the app has launched to the splashscreen, I’m still getting this error in xcode error logs.
Not sure if it is preventing the app from continuing.

2019-02-16 15:51:48.529442+0800 testejectproject[32759:280276] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2019-02-16 15:51:48.529670+0800 testejectproject[32759:280276] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2019-02-16 15:51:48.572415+0800 testejectproject[32759:280276] Expo iOS Runtime Version 32.0.0
2019-02-16 15:51:48.617330+0800 testejectproject[32759:280276] *** Assertion failure in -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:], /Users/bing/Documents/Projects/Tutorial/TestEjectProject/ios/Pods/ExpoKit/ios/Exponent/Kernel/Core/EXKernelAppRegistry.m:30
2019-02-16 15:51:48.727940+0800 testejectproject[32759:280276] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot register an app with no manifest URL'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010dfb71bb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x000000010c55f735 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010dfb6f42 +[NSException raise:format:arguments:] + 98
	3   Foundation                          0x0000000108cad877 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
	4   testejectproject                    0x0000000103dd1332 -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:] + 322
	5   testejectproject                    0x0000000103dcec76 -[EXKernel createNewAppWithUrl:initialProps:] + 118
	6   testejectproject                    0x0000000103e22371 -[EXViewController createRootAppAndMakeVisible] + 385
	7   testejectproject                    0x0000000103e21f03 -[EXViewController viewDidLoad] + 195
	8   UIKitCore                           0x0000000116cab4e1 -[UIViewController loadViewIfRequired] + 1186
	9   UIKitCore                           0x0000000116cab940 -[UIViewController view] + 27
	10  UIKitCore                           0x0000000117302c53 -[UIWindow addRootViewControllerViewIfPossible] + 122
	11  UIKitCore                           0x000000011730336e -[UIWindow _setHidden:forced:] + 294
	12  UIKitCore                           0x00000001173165c0 -[UIWindow makeKeyAndVisible] + 42
	13  testejectproject                    0x0000000103e0b347 -[EXStandaloneAppDelegate _setUpUserInterfaceForApplication:withLaunchOptions:] + 679
	14  testejectproject                    0x0000000103e0afa0 -[EXStandaloneAppDelegate application:didFinishLaunchingWithOptions:] + 128
	15  testejectproject                    0x0000000103996ae1 -[AppDelegate application:didFinishLaunchingWithOptions:] + 113
	16  UIKitCore                           0x00000001172c1bde -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 280
	17  UIKitCore                           0x00000001172c35cb -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3979
	18  UIKitCore                           0x00000001172c8c2f -[UIApplication _runWithMainScene:transitionContext:completion:] + 1623
	19  UIKitCore                           0x0000000116ae74e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
	20  UIKitCore                           0x0000000116af029c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
	21  UIKitCore                           0x0000000116ae7126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
	22  UIKitCore                           0x0000000116ae7ae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
	23  UIKitCore                           0x0000000116ae5cb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
	24  UIKitCore                           0x0000000116ae595f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
	25  UIKitCore                           0x0000000116aeaa90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
	26  UIKitCore                           0x0000000116aeb80e _performActionsWithDelayForTransitionContext + 100
	27  UIKitCore                           0x0000000116aea7ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
	28  UIKitCore                           0x0000000116aef93a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
	29  UIKitCore                           0x00000001172c744e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
	30  UIKitCore                           0x0000000116e6bd09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
	31  FrontBoardServices                  0x0000000114ddb2da -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
	32  FrontBoardServices                  0x0000000114de6443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
	33  FrontBoardServices                  0x0000000114de5b3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
	34  libdispatch.dylib                   0x000000010f01d602 _dispatch_client_callout + 8
	35  libdispatch.dylib                   0x000000010f020b78 _dispatch_block_invoke_direct + 301
	36  FrontBoardServices                  0x0000000114e1aba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	37  FrontBoardServices                  0x0000000114e1a860 -[FBSSerialQueue _performNext] + 457
	38  FrontBoardServices                  0x0000000114e1ae40 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
	39  CoreFoundation                      0x000000010df1c721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	40  CoreFoundation                      0x000000010df1bf93 __CFRunLoopDoSources0 + 243
	41  CoreFoundation                      0x000000010df1663f __CFRunLoopRun + 1263
	42  CoreFoundation                      0x000000010df15e11 CFRunLoopRunSpecific + 625
	43  GraphicsServices                    0x00000001103ff1dd GSEventRunModal + 62
	44  UIKitCore                           0x00000001172ca81d UIApplicationMain + 140
	45  testejectproject                    0x0000000103996a40 main + 112
	46  libdyld.dylib                       0x000000010f093575 start + 1
	47  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

#5

@bing2609,

Since I can’t recreate the issue on my side, it’s difficult to determine what the issue could be. Our app.json files are identical aside from project name, and bundle identifiers.

Maybe going through the warnings listed first, we may be able to gain some insight. Follow this link to a stackoverflow post that will show you how to add “fetch” and “remote-notification” under UIBackgroundModes in your Info.plist file. Then try to run the simulator again.

Good luck!


#6

I’ve managed to resolve the warnings with the link you provided.
I’ve tried editing the shell-app-manifest.json, to have an empty object and the exception still persisted.

This is the updated stack trace on the issue

2019-02-18 19:44:06.409279+0800 testejectproject[52942:1219022] Expo iOS Runtime Version 32.0.0
2019-02-18 19:44:06.439047+0800 testejectproject[52942:1219022] *** Assertion failure in -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:], /Users/bing/Documents/Projects/Tutorial/TestEjectProject/ios/Pods/ExpoKit/ios/Exponent/Kernel/Core/EXKernelAppRegistry.m:30
2019-02-18 19:44:06.509220+0800 testejectproject[52942:1219022] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot register an app with no manifest URL'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010fc9c1bb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x000000010e3ac735 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010fc9bf42 +[NSException raise:format:arguments:] + 98
	3   Foundation                          0x000000010aa16877 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
	4   testejectproject                    0x0000000105b3a332 -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:] + 322
	5   testejectproject                    0x0000000105b37c76 -[EXKernel createNewAppWithUrl:initialProps:] + 118
	6   testejectproject                    0x0000000105b8b371 -[EXViewController createRootAppAndMakeVisible] + 385
	7   testejectproject                    0x0000000105b8af03 -[EXViewController viewDidLoad] + 195
	8   UIKitCore                           0x0000000118a164e1 -[UIViewController loadViewIfRequired] + 1186
	9   UIKitCore                           0x0000000118a16940 -[UIViewController view] + 27
	10  UIKitCore                           0x000000011906dc53 -[UIWindow addRootViewControllerViewIfPossible] + 122
	11  UIKitCore                           0x000000011906e36e -[UIWindow _setHidden:forced:] + 294
	12  UIKitCore                           0x00000001190815c0 -[UIWindow makeKeyAndVisible] + 42
	13  testejectproject                    0x0000000105b74347 -[EXStandaloneAppDelegate _setUpUserInterfaceForApplication:withLaunchOptions:] + 679
	14  testejectproject                    0x0000000105b73fa0 -[EXStandaloneAppDelegate application:didFinishLaunchingWithOptions:] + 128
	15  testejectproject                    0x00000001056ffae1 -[AppDelegate application:didFinishLaunchingWithOptions:] + 113
	16  UIKitCore                           0x000000011902cbde -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 280
	17  UIKitCore                           0x000000011902e5cb -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3979
	18  UIKitCore                           0x0000000119033c2f -[UIApplication _runWithMainScene:transitionContext:completion:] + 1623
	19  UIKitCore                           0x00000001188524e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
	20  UIKitCore                           0x000000011885b29c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
	21  UIKitCore                           0x0000000118852126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
	22  UIKitCore                           0x0000000118852ae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
	23  UIKitCore                           0x0000000118850cb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
	24  UIKitCore                           0x000000011885095f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
	25  UIKitCore                           0x0000000118855a90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
	26  UIKitCore                           0x000000011885680e _performActionsWithDelayForTransitionContext + 100
	27  UIKitCore                           0x00000001188557ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
	28  UIKitCore                           0x000000011885a93a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
	29  UIKitCore                           0x000000011903244e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
	30  UIKitCore                           0x0000000118bd6d09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
	31  FrontBoardServices                  0x0000000116b462da -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
	32  FrontBoardServices                  0x0000000116b51443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
	33  FrontBoardServices                  0x0000000116b50b3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
	34  libdispatch.dylib                   0x0000000110d7a602 _dispatch_client_callout + 8
	35  libdispatch.dylib                   0x0000000110d7db78 _dispatch_block_invoke_direct + 301
	36  FrontBoardServices                  0x0000000116b85ba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	37  FrontBoardServices                  0x0000000116b85860 -[FBSSerialQueue _performNext] + 457
	38  FrontBoardServices                  0x0000000116b85e40 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
	39  CoreFoundation                      0x000000010fc01721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	40  CoreFoundation                      0x000000010fc00f93 __CFRunLoopDoSources0 + 243
	41  CoreFoundation                      0x000000010fbfb63f __CFRunLoopRun + 1263
	42  CoreFoundation                      0x000000010fbfae11 CFRunLoopRunSpecific + 625
	43  GraphicsServices                    0x000000011216a1dd GSEventRunModal + 62
	44  UIKitCore                           0x000000011903581d UIApplicationMain + 140
	45  testejectproject                    0x00000001056ffa40 main + 112
	46  libdyld.dylib                       0x0000000110df0575 start + 1
	47  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)