iOS builds crash on Testflight when opened but not on emulator or when compiled onto device from xCode
See original GitHub issueš Bug Report
Summary of Issue
Iāve never experienced this until I moved to the bare workflow from ExpoKit. My build will work fine on emulator and also works fine compiled onto my phone through a USB cable. However when shipped through TestFlight the build instantly crashes and doesnāt even reach the splashscreen. Debug log shows the following thread crashing: expo.controller.AssetFilesQueue and you can find the full crash report here: https://pastebin.com/yMfLihni.
I donāt see any remarkable error codes in console when I attach to the device through a cable so console is of no use. This crash log / stack trace is the only hint that I have regarding whatās going on. I have a feeling this relates to expo-updates though and it specifically started happening when I enabled EXUpdatesLaunchWaitMs
to 30000 in Expo.plist.
Expo updates is latest version.
Environment - output of expo diagnostics
& the platform(s) youāre targeting
Expo CLI 3.22.3 environment info:
System:
OS: macOS 10.15.4
Shell: 3.1.0 - /usr/local/bin/fish
Binaries:
Node: 14.4.0 - ~/.nvm/versions/node/v14.4.0/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v14.4.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5900203
Xcode: 11.6/11E708 - /usr/bin/xcodebuild
npmPackages:
expo: ~38.0.8 => 38.0.8
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
react-navigation: ^4 => 4.4.0
npmGlobalPackages:
expo-cli: 3.22.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
@shamilovtim here it is :
I made some fix for expo-updates, @bugsnag/react-native and now Iām able to get this error in bugsnag :
TypeError Ā· null is not an object (evaluating '_.releaseChannel')
I suspect a package using expo-constants (which is not available on bare) ? Bingo !
So Iāve update the package.json
Problem solved for me.
Check for syntax. Something as little as a key value could cause it to crash