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
1 Like
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
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!
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)
@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!
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)
@bing2609
You shouldn’t need to edit the shell-app-manifest.json file. I followed your steps to reproduce the issue and had no problems running the app on a simulator through Xcode. (My shell-app-manifest.json is completely empty)
Without being able to reproduce the error, it’s hard to identify a problem
Alright, thank you so much for helping.
Came across this site . Might be an alternative to use expo again.
Cheers!
dmydry
March 5, 2019, 3:57pm
9
Hi there!
Just ejected my published and released app (need to integrate with the facebook sdk).
Got the same issue libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
.
Expo-CLI: 2.11.6
Expo: 32.0.6
ExpoKit: 32.0.7
React: 16.5.0
dmydry
March 5, 2019, 5:18pm
10
Hey guys, i tried to make this with an empty project. The issue is still here.
expo init
expo eject
make a small fix for a new Cocoapods version - Getting Issue while run pod-install - #5 by adamjnav
cd ios && pod install
when build a new empty project with xcode (10.1) I get the same stacktrace
2019-03-05 18:12:13.627321+0100 ornament-test-eject[22307:253358] 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-03-05 18:12:13.627805+0100 ornament-test-eject[22307:253358] 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-03-05 18:12:13.676908+0100 ornament-test-eject[22307:253358] Expo iOS Runtime Version 32.0.0
2019-03-05 18:12:13.718522+0100 ornament-test-eject[22307:253358] *** Assertion failure in -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:], /Users/dmydry/projects/test-expo-eject/ornament.monitor.eject/ios/Pods/ExpoKit/ios/Exponent/Kernel/Core/EXKernelAppRegistry.m:30
2019-03-05 18:12:13.797992+0100 ornament-test-eject[22307:253358] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Cannot register an app with no manifest URL'
*** First throw call stack:
(
0 CoreFoundation 0x000000010e9371bb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010d047735 objc_exception_throw + 48
2 CoreFoundation 0x000000010e936f42 +[NSException raise:format:arguments:] + 98
3 Foundation 0x0000000109795877 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4 ornament-test-eject 0x00000001048b6e22 -[EXKernelAppRegistry registerAppWithManifestUrl:initialProps:] + 322
5 ornament-test-eject 0x00000001048b4766 -[EXKernel createNewAppWithUrl:initialProps:] + 118
6 ornament-test-eject 0x0000000104907e61 -[EXViewController createRootAppAndMakeVisible] + 385
7 ornament-test-eject 0x00000001049079f3 -[EXViewController viewDidLoad] + 195
8 UIKitCore 0x00000001177924e1 -[UIViewController loadViewIfRequired] + 1186
9 UIKitCore 0x0000000117792940 -[UIViewController view] + 27
10 UIKitCore 0x0000000117de9c53 -[UIWindow addRootViewControllerViewIfPossible] + 122
11 UIKitCore 0x0000000117dea36e -[UIWindow _setHidden:forced:] + 294
12 UIKitCore 0x0000000117dfd5c0 -[UIWindow makeKeyAndVisible] + 42
13 ornament-test-eject 0x00000001048f0e37 -[EXStandaloneAppDelegate _setUpUserInterfaceForApplication:withLaunchOptions:] + 679
14 ornament-test-eject 0x00000001048f0a90 -[EXStandaloneAppDelegate application:didFinishLaunchingWithOptions:] + 128
15 ornament-test-eject 0x000000010447c7c1 -[AppDelegate application:didFinishLaunchingWithOptions:] + 113
16 UIKitCore 0x0000000117da8bde -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 280
17 UIKitCore 0x0000000117daa5cb -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3979
18 UIKitCore 0x0000000117dafc2f -[UIApplication _runWithMainScene:transitionContext:completion:] + 1623
19 UIKitCore 0x00000001175ce4e9 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
20 UIKitCore 0x00000001175d729c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
21 UIKitCore 0x00000001175ce126 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
22 UIKitCore 0x00000001175ceae0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
23 UIKitCore 0x00000001175cccb5 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
24 UIKitCore 0x00000001175cc95f -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
25 UIKitCore 0x00000001175d1a90 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
26 UIKitCore 0x00000001175d280e _performActionsWithDelayForTransitionContext + 100
27 UIKitCore 0x00000001175d17ef -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
28 UIKitCore 0x00000001175d693a -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
29 UIKitCore 0x0000000117dae44e -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
30 UIKitCore 0x0000000117952d09 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
31 FrontBoardServices 0x00000001158c22da -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
32 FrontBoardServices 0x00000001158cd443 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
33 FrontBoardServices 0x00000001158ccb3a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
34 libdispatch.dylib 0x000000010fa15602 _dispatch_client_callout + 8
35 libdispatch.dylib 0x000000010fa18b78 _dispatch_block_invoke_direct + 301
36 FrontBoardServices 0x0000000115901ba8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
37 FrontBoardServices 0x0000000115901860 -[FBSSerialQueue _performNext] + 457
38 FrontBoardServices 0x0000000115901e40 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
39 CoreFoundation 0x000000010e89c721 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
40 CoreFoundation 0x000000010e89bf93 __CFRunLoopDoSources0 + 243
41 CoreFoundation 0x000000010e89663f __CFRunLoopRun + 1263
42 CoreFoundation 0x000000010e895e11 CFRunLoopRunSpecific + 625
43 GraphicsServices 0x0000000110e051dd GSEventRunModal + 62
44 UIKitCore 0x0000000117db181d UIApplicationMain + 140
45 ornament-test-eject 0x000000010447c720 main + 112
46 libdyld.dylib 0x000000010fa8b575 start + 1
47 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
dmydry
March 5, 2019, 7:37pm
11
1 Like
I have already downgraded cocoapods to version 1.5.3 ,however, I’m still see white screen in IOS simulator and still get an error *libc++abi.dylib: terminating with uncaught exception of type NSException Any other ideas how is possible to fix it?
@charliecruzan any updates regarding this issue?
@bing2609 Have you solved this issue?
Here is my stack trace:
thread #1 , queue = ‘com.apple.main-thread’, stop reason = signal SIGABRT
frame #0: 0x0000000113ab423e libsystem_kernel.dylib__pthread_kill + 10 frame #1: 0x0000000113b07c1c libsystem_pthread.dylib
pthread_kill + 285
frame #2: 0x0000000113876c45 libsystem_c.dylibabort + 127 frame #3: 0x00000001135fd5b1 libc++abi.dylib
abort_message + 231
frame #4: 0x00000001135fd74d libc++abi.dylibdefault_terminate_handler() + 265 frame #5: 0x0000000110d46a9d libobjc.A.dylib
_objc_terminate() + 97
frame #6: 0x000000011360965e libc++abi.dylibstd::__terminate(void (*)()) + 8 frame #7: 0x00000001136096d3 libc++abi.dylib
std::terminate() + 51
frame #8: 0x0000000110d46a22 libobjc.A.dylibobjc_terminate + 9 frame #9: 0x0000000113714616 libdispatch.dylib
_dispatch_client_callout + 28
frame #10: 0x0000000113717b78 libdispatch.dylib_dispatch_block_invoke_direct + 301 frame #11: 0x0000000119608ba8 FrontBoardServices
FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 30
frame #12: 0x0000000119608860 FrontBoardServices-[FBSSerialQueue _performNext] + 457 frame #13: 0x0000000119608e40 FrontBoardServices
-[FBSSerialQueue _performNextFromRunLoopSource] + 45
frame #14: 0x000000011259b721 CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #15: 0x000000011259af93 CoreFoundation
__CFRunLoopDoSources0 + 243
frame #16: 0x000000011259563f CoreFoundation__CFRunLoopRun + 1263 frame #17: 0x0000000112594e11 CoreFoundation
CFRunLoopRunSpecific + 625
frame #18: 0x0000000114b041dd GraphicsServicesGSEventRunModal + 62 frame #19: 0x000000011bab881d UIKitCore
UIApplicationMain + 140
frame #20: 0x0000000108184490 civic-champsmain(argc=1, argv=0x00007ffee7a7bff8) at main.m:8 frame #21: 0x000000011378a575 libdyld.dylib
start + 1
frame #22: 0x000000011378a575 libdyld.dylib`start + 1
what else did you change except downgrading version of cocoapods?
@luckygirlllll , I have yet to solve this issue. I turned towards using default react-native init with Expo Bare workflow.
https://github.com/unimodules/react-native-unimodules/blob/master/README.md
Okay, I solved the problem, now my project is working fine. I guess the problem was that I didn’t run expo start before doing pod install.