Please provide the following:
- SDK Version: 36.0.0
- Platforms(Android/iOS/web/all): iOS
I’ve got an ejected app which builds fine in Xcode, but as soon as it’s launched on either a simulator or a physical device, it will crash after a few seconds of the splash screen.
It seems to be related to the app trying to connect to the expo bundler and not being to.
Here is my stack trace:
2020-02-11 16:28:47.528664-0600 find-a-well[831:16826] [] nw_socket_handle_socket_event [C1.1:2] Socket SO_ERROR [61: Connection refused]
2020-02-11 16:28:47.531011-0600 find-a-well[831:16826] [] nw_socket_handle_socket_event [C1.2:2] Socket SO_ERROR [61: Connection refused]
2020-02-11 16:28:47.531815-0600 find-a-well[831:16826] Connection 1: received failure notification
2020-02-11 16:28:47.532007-0600 find-a-well[831:16826] Connection 1: failed to connect 1:61, reason -1
2020-02-11 16:28:47.532132-0600 find-a-well[831:16826] Connection 1: encountered error(1:61)
2020-02-11 16:28:47.536974-0600 find-a-well[831:16826] Task <777C5E88-090F-4B8C-B322-A7BCC19AD29B>.<1> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])
2020-02-11 16:28:47.540344-0600 find-a-well[831:16825] Task <777C5E88-090F-4B8C-B322-A7BCC19AD29B>.<1> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x6000037550e0 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://localhost:8081/status, NSErrorFailingURLKey=http://localhost:8081/status, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.}
2020-02-11 16:28:47.958402-0600 find-a-well[831:16256] -[RCTCxxBridge redBox]: unrecognized selector sent to instance 0x7fed77c0c950
2020-02-11 16:28:48.406335-0600 find-a-well[831:16256] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTCxxBridge redBox]: unrecognized selector sent to instance 0x7fed77c0c950'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c91fd4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff23c75c4c ___forwarding___ + 1436
4 CoreFoundation 0x00007fff23c77f78 _CF_forwarding_prep_0 + 120
5 find-a-well 0x000000010038142b -[RCTCxxBridge handleError:] + 811
6 find-a-well 0x00000001003789e4 __21-[RCTCxxBridge start]_block_invoke.172 + 132
7 find-a-well 0x0000000100379c38 __38-[RCTCxxBridge loadSource:onProgress:]_block_invoke + 888
8 find-a-well 0x000000010037951f -[RCTCxxBridge loadSource:onProgress:] + 1599
9 find-a-well 0x0000000100377f09 -[RCTCxxBridge start] + 3001
10 find-a-well 0x000000010035dc4f -[RCTBridge setUp] + 815
11 find-a-well 0x000000010035ceb8 -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] + 344
12 find-a-well 0x000000010035cbf6 -[RCTBridge initWithDelegate:launchOptions:] + 134
13 find-a-well 0x00000001002db4c7 -[AppDelegate application:didFinishLaunchingWithOptions:] + 295
14 UIKitCore 0x00007fff48089ad8 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 232
15 UIKitCore 0x00007fff4808b460 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3980
16 UIKitCore 0x00007fff48090f05 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1226
17 UIKitCore 0x00007fff477c576d -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
18 UIKitCore 0x00007fff47cb44c1 _UIScenePerformActionsWithLifecycleActionMask + 83
19 UIKitCore 0x00007fff477c627f __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
20 UIKitCore 0x00007fff477c5c8e -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 296
21 UIKitCore 0x00007fff477c60ac -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 818
22 UIKitCore 0x00007fff477c5941 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
23 UIKitCore 0x00007fff477c9f3f __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 178
24 UIKitCore 0x00007fff47bd8c83 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865
25 UIKitCore 0x00007fff47cd2dff _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
26 UIKitCore 0x00007fff477c9c5a __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
27 UIKitCore 0x00007fff47cd2d02 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
28 UIKitCore 0x00007fff477c9ac8 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
29 UIKitCore 0x00007fff476206e7 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
30 UIKitCore 0x00007fff4761f26c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248
31 UIKitCore 0x00007fff47620411 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
32 UIKitCore 0x00007fff4808f599 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 535
33 UIKitCore 0x00007fff47bfa7f5 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
34 FrontBoardServices 0x00007fff365d6165 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 442
35 FrontBoardServices 0x00007fff365fc4d8 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
36 FrontBoardServices 0x00007fff365e0c45 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
37 FrontBoardServices 0x00007fff365fc169 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
38 libdispatch.dylib 0x0000000101c16d48 _dispatch_client_callout + 8
39 libdispatch.dylib 0x0000000101c19cb9 _dispatch_block_invoke_direct + 300
40 FrontBoardServices 0x00007fff3662237e __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
41 FrontBoardServices 0x00007fff3662206c -[FBSSerialQueue _queue_performNextIfPossible] + 441
42 FrontBoardServices 0x00007fff3662257b -[FBSSerialQueue _performNextFromRunLoopSource] + 22
43 CoreFoundation 0x00007fff23bd4471 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
44 CoreFoundation 0x00007fff23bd439c __CFRunLoopDoSource0 + 76
45 CoreFoundation 0x00007fff23bd3b74 __CFRunLoopDoSources0 + 180
46 CoreFoundation 0x00007fff23bce87f __CFRunLoopRun + 1263
47 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438
48 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65
49 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621
50 find-a-well 0x00000001002d45e0 main + 112
51 libdyld.dylib 0x00007fff5227ec25 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Any assistance with this would be greatly appreciated!