Expo standalone iOS app build for simulator failing

#1

My app works on expo bundler, but after I build it with command

exp build:ios -t simulator

when i install and start it on simulator it crashes immediately with following log

Apr  9 20:31:09 Erics-MacBook-Pro ExpoKitApp[90105]: assertion failed: 17D102 15E217: libxpc.dylib + 71589 [22B51B1C-1E07-3FEE-A4E9-60E90E7520D6]: 0x7d
Apr  9 20:31:09 Erics-MacBook-Pro com.apple.CoreSimulator.SimDevice.7060B5EB-8735-485B-B4AA-64320BFF5CC3[89812] (com.apple.WebKit.Networking): Unknown key for Boolean: EnableTransactions
Apr  9 20:31:09 Erics-MacBook-Pro com.apple.CoreSimulator.SimDevice.7060B5EB-8735-485B-B4AA-64320BFF5CC3[89812] (com.apple.WebKit.Networking): Unknown key for Boolean: EnablePressuredExit
...

This is app screen

Can anyone help me with this?

Here is my app.json

{
  "expo": {
    "name": "Zhivu Sportom",
    "icon": "./app/assets/icon/ios/iTunesArtwork@2x.png",
    "version": "2.0.0",
    "slug": "zhivu-sportom",
    "sdkVersion": "25.0.0",
    "ios": {
      "bundleIdentifier": "sigma.liveinsports",
      "supportsTablet": true,
      "icon": "./app/assets/icon/ios/iTunesArtwork@2x.png"
    },
    "android": {
      "package": "sigma.liveinsports"
    }
  },
  "name": "ZhivuSportom",
  "displayName": "Zhivu Sportom"
}

#2

Hmm, not sure. Try running with exp start --no-dev --minify to more closely replicate what you’ll get when you build?

#4

Sorted.
It was Babel error on “empty object” declaration, like this

const {} = auth

after i got rid of that my standalone build started to work

closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.