Hi, I’m stuck with a problem that seems related to expo-updates after ejecting my app to the bare workflow.
It works fine in the iOS Simulator but after building and uploading to TestFlight the app crashes immediately after starting.
Crash logs give me this error:
Last Exception Backtrace:
0 CoreFoundation 0x187622a48 __exceptionPreprocess + 220 (NSException.m:199)
1 libobjc.A.dylib 0x187349fa4 objc_exception_throw + 56 (objc-exception.mm:565)
2 shinner 0x10046f5f4 __46+[EXUpdatesEmbeddedAppLoader embeddedManifest]_block_invoke + 484 (EXUpdatesEmbeddedAppLoader.m:0)
This is what my AppDelegate.m looks like: /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source cod - Pastebin.com
AppDelegate.h: /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source cod - Pastebin.com
package.json: { "private": true, "scripts": { "start": "react-native start", " - Pastebin.com
I’ve tried disabling updates with EXUpdatesEnabled set to false in Expo.plist, but it still crashes with the same error.
I’ve followed this guide to build the app (never used XCode before), A React Native App from scratch to TestFlight with Expo Bare Workflow | by Arnaud Ambroselli | Medium
I’m eternally grateful for any pointers. Is my problem related to XCode build configuration, AppDelegate or configuration for expo-updates, something else? What do you think?