expo.build:ios works eas build --platform ios does not

getting strange invalid bytecode stuff on ios, and something about gradle on android.

you might run into problems with bitcode for a couple reasons:

  • you use a library that is precompiled and this was done with a more recent version of xcode
  • you use a library that does not support bitcode (eg: @shopify/react-native-skia)

you can disable bitcode if you want by setting "ios": { "bitcode": false }

hard to know for sure what’s going on w/o the error msg itself.

is that in the eas.config, @brents ?

{
  "cli": {
    "version": ">= 0.43.0"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {
      "ios":{
        "image": "latest"
      }
    }
  },
  "submit": {
    "production": {}
  }
}

the image: “latest” seems to have fixed me.

1 Like

Thank you both for your help @wodin and @brents. I will make another post concerning any issues i have when building android.

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