I am getting errors when trying to build. I recently integrated IAP into the app. But the build keeps failing at the FastLane part of the script. I looked in the code and it looks like its failing at the Switch statement. I do not understand the reason why though.
is this a managed app or what? does it build locally?
No, it’s using the bare workflow. I have a few bare react-native packages but I still use expo start
to develop. And yes it builds fine locally
are you using the same version of xcode locally as on eas build? Build server infrastructure - Expo Documentation
Hey I was able to solve the issue by editing the eas.json file and changing the following line:
from:
"image":"macos-catalina-11.15-xcode-12.1"
to:
"image": "latest"
My local machines running Big Sur. So the issue was probably in the different versions of macOS. Thanks!
We have the same issue on Mac, but our eas.json does not have the “Image”.
“ios”: {
“dev”: {
“workflow”: “generic”,
“releaseChannel”: “dev”,
“env”: {
“APP_ENV”: “dev”
}
},
“dev-internal”: {
“workflow”: “generic”,
“releaseChannel”: “dev”,
“distribution”: “internal”,
“env”: {
“APP_ENV”: “dev”
}
},
Does someone have found a solution for this? We are already using version 10.1.1 of expo-in-app-purchase and everything is already working fine on android.
Thanks
set image to latest to use the latest xcode version