After migration from ExpoKit to Bare the new build crashes on Testflight

If a user has an app with the old build (ExpoKit) on their phone and they select the newest build on Testflight which is Bare the app instantly crashes and never shows a splash screen. Is this a common problem after migration? How is it avoided? I don’t have the same problem on my emulator and I don’t know how to debug it. There’s no error message at all.

Problem went away by itself. Really not sure what was causing it but the migration is an unprecedented thing so makes sense that it’s messy.

Having this problem again. I don’t know what to do about it.

The on device analytics crash logs show the following thread crashing:
expo.controller.assetfilesqueue. Link to full paste bin: https://pastebin.com/yMfLihni.

This is a TestFlight build that crashes the very second that it’s opened and never reaches the launch screen. Emulator works fine, and running on device through xCode works fine as well. Only the testflight build does this.

Any idea what this is and why it just randomly appears on some builds but not others? The build I released before this did not do this.

Hi @shamilot, I have the same issue, app works fine on simulator and real device with Xcode but crashes on TestFlight.

Here is my crash log (limited to Thread 0 that triggered the termination) :

Incident Identifier: 79C9CB1E-DE5C-4FD2-A7ED-58D10255EBC5
CrashReporter Key:   f6f78e16a7fa2f8603c842861e468ca1c520e70f
Hardware Model:      iPhone8,4
Process:             app [4155]
Path:                /private/var/containers/Bundle/Application/34736163-D5EE-416E-9DDE-A133E6831F27/app.app/app
Identifier:          com.myfamiliz.app
Version:             0.38.15 (0.38.15)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.myfamiliz.app [506]


Date/Time:           2020-08-20 17:19:29.2931 +0200
Launch Time:         2020-08-20 17:19:09.2010 +0200
OS Version:          iPhone OS 11.4.1 (15G77)
Baseband Version:    6.80.00
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, scene-create watchdog transgression: com.myfamiliz.app exhausted real (wall clock) time allowance of 19.84 seconds |  | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 7.460 (user 7.460, system 0.000), 19% CPU", | "Elapsed application CPU time (seconds): 3.381, 8% CPU" | )
Triggered by Thread:  0

Filtered syslog:
None found

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x0000000183a23e24 semaphore_wait_trap + 8
1   libdispatch.dylib             	0x00000001838b2f48 _dispatch_sema4_wait$VARIANT$mp + 24
2   libdispatch.dylib             	0x00000001838b38e0 _dispatch_semaphore_wait_slow + 136
3   app                           	0x00000001014701d8 -[RCTBundleURLProvider isPackagerRunning:] + 8241624 (RCTBundleURLProvider.m:96)
4   app                           	0x0000000101470770 -[RCTBundleURLProvider guessPackagerHost] + 8243056 (RCTBundleURLProvider.m:111)
5   app                           	0x000000010147098c -[RCTBundleURLProvider packagerServerHost] + 8243596 (RCTBundleURLProvider.m:125)
6   app                           	0x0000000101470a64 -[RCTBundleURLProvider jsBundleURLForBundleRoot:fallbackURLProvider:] + 8243812 (RCTBundleURLProvider.m:135)
7   app                           	0x0000000101470c90 -[RCTBundleURLProvider jsBundleURLForBundleRoot:fallbackResource:fallbackExtension:] + 8244368 (RCTBundleURLProvider.m:149)
8   app                           	0x0000000101470dac -[RCTBundleURLProvider jsBundleURLForBundleRoot:fallbackResource:] + 8244652 (RCTBundleURLProvider.m:156)
9   app                           	0x0000000100c999fc -[AppDelegate sourceURLForBridge:] + 23036 (AppDelegate.m:87)
10  app                           	0x000000010146eb14 -[RCTBridge setUp] + 8235796 (RCTBridge.m:360)
11  app                           	0x000000010146de8c -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] + 8232588 (RCTBridge.m:228)
12  app                           	0x000000010146dbb0 -[RCTBridge initWithDelegate:launchOptions:] + 8231856 (RCTBridge.m:199)
13  app                           	0x0000000100c996f0 -[AppDelegate initializeReactNativeApp] + 22256 (AppDelegate.m:65)
14  app                           	0x0000000100c99338 -[AppDelegate application:didFinishLaunchingWithOptions:] + 21304 (AppDelegate.m:51)
15  UIKit                         	0x000000018dbcddbc -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 408
16  UIKit                         	0x000000018dbcd1c4 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3484
17  UIKit                         	0x000000018db9a5e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1680
18  UIKit                         	0x000000018e1cab1c __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784
19  UIKit                         	0x000000018db99dd0 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
20  UIKit                         	0x000000018db99c6c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240
21  UIKit                         	0x000000018db98afc -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 724
22  UIKit                         	0x000000018e82e84c __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296
23  UIKit                         	0x000000018db981ec -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
24  UIKit                         	0x000000018e613ac8 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
25  UIKit                         	0x000000018e761bf8 _performActionsWithDelayForTransitionContext + 112
26  UIKit                         	0x000000018db97c0c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
27  UIKit                         	0x000000018db975a8 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
28  UIKit                         	0x000000018db945e0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
29  UIKit                         	0x000000018db94330 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
30  FrontBoardServices            	0x00000001867c0470 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 364
31  FrontBoardServices            	0x00000001867c8d6c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 224
32  libdispatch.dylib             	0x00000001838b0a60 _dispatch_client_callout + 16
33  libdispatch.dylib             	0x00000001838b8170 _dispatch_block_invoke_direct$VARIANT$mp + 224
34  FrontBoardServices            	0x00000001867f4878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
35  FrontBoardServices            	0x00000001867f451c -[FBSSerialQueue _performNext] + 404
36  FrontBoardServices            	0x00000001867f4ab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
37  CoreFoundation                	0x0000000183f67404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
38  CoreFoundation                	0x0000000183f66c2c __CFRunLoopDoSources0 + 276
39  CoreFoundation                	0x0000000183f6479c __CFRunLoopRun + 1204
40  CoreFoundation                	0x0000000183e84da8 CFRunLoopRunSpecific + 552
41  GraphicsServices              	0x0000000185e6a020 GSEventRunModal + 100
42  UIKit                         	0x000000018dea4758 UIApplicationMain + 236
43  app                           	0x0000000100c99d94 main + 23956 (main.m:7)
44  libdyld.dylib                 	0x0000000183915fc0 start + 4
  Expo CLI 3.24.2 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.13.1 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 3.10.10 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    IDEs:
      Android Studio: 3.4 AI-183.6156.11.34.5692245
      Xcode: 11.6/11E708 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^38.0.9 => 38.0.9
      react: ~16.11.0 => 16.11.0
      react-dom: 16.11.0 => 16.11.0
      react-native: ~0.62.2 => 0.62.2
      react-native-web: ~0.11.7 => 0.11.7
    npmGlobalPackages:
      expo-cli: 3.24.2