The app works via the expo app when I test it on my iPhone. I was able to successfully build an ipa file, upload it to Browserstack, and install the uploaded app on the device, however the app crashes immediately when I open it and I get the following error. Looks like the cause is related to the pid although I do have a paid Apple developer account.
Error
Sep 23 21:36:09 iPhone SpringBoard(AssertionServices)[55] : [???.???.???] Bootstrap failed with error: <NSError: 0x147ea8400; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed); reason: “Failed to start job”>
Sep 23 21:36:09 iPhone SpringBoard(FrontBoard)[55] : Bootstrapping failed for <FBApplicationProcess: 0x147fa83c0; ???.???.???; pid: -1> with error: Error Domain=BKSProcessErrorDomain Code=1 “Unable to bootstrap process with bundleID ???.???.???” UserInfo={NSLocalizedDescription=Unable to bootstrap process with bundleID ???.???.???, BKSProcessExitReason=0, NSLocalizedFailureReason=Failed to start job, NSUnderlyingError=0x146173600 {Error Domain=NSPOSIXErrorDomain Code=3 “No such process” UserInfo={BKLaunchdOperation=launch_get_running_pid_4SB, NSLocalizedDescription=Unable to get pid for label UIKitApplication:???.???.???[0x4898][66], BKLaunchdJobLabel=UIKitApplication:???.???.???[0x4898][66], NSLocalizedFailureReason=No such process}}, BKSProcessJobLabel=UIKitApplication:???.???.???[0x4898][66], BSErrorCodeDescription=bootstrap-failed}
Expo diagnostics
Expo CLI 3.0.10 environment info:
System:
OS: Linux 4.15 Ubuntu 18.04.3 LTS (Bionic Beaver)
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
Yarn: 1.17.3 - /usr/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
npmPackages:
expo: ^34.0.1 => 34.0.3
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz => 0.59.8
react-navigation: ^3.11.0 => 3.11.1
npmGlobalPackages:
expo-cli: 3.0.10