[iOS] runtimeVersion from Expo.plist ignored
See original GitHub issueSummary
I know that the issue is not specific to the eas-cli itself, but rather to the build service, however, I still thought it fits best here (please correct me otherwise).
The official documentation states that for a runtime version in a bare project you have to set EXUpdatesRuntimeVersion
in the Expo.plist
(see here).
I did this, and when building the project locally I can see that when inspecting the built ipa file that the contained Expo.plist
contains the runtime version (obviously). However, when building the app with eas build
this configuration is ignored. The resulting ipa file’s Expo.plist
doesn’t contain the runtimeVersion
.
To me, it feels like Runtime Versions are not supported yet with eas build?
Managed or bare?
Bare
Environment
EAS CLI 0.40.0 environment info:
System:
OS: macOS 12.0.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
Yarn: 1.22.11 - ~/.nvm/versions/node/v14.17.6/bin/yarn
npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm
Utilities:
Git: 2.33.1 - /usr/local/bin/git
npmPackages:
expo: ^43.0.1 => 43.0.3
expo-dev-client: ~0.6.3 => 0.6.3
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: ~0.65.2 => 0.65.2
react-native-web: 0.17.5 => 0.17.5
npmGlobalPackages:
eas-cli: 0.40.0
expo-cli: 4.12.12
Project workflow: generic
Error output
There is no error output by the CLI itself
Reproducible demo or steps to reproduce from a blank project
- Create a bare expo project (dev client)
- Set a
EXUpdatesRuntimeVersion
key value in theExpo.plist
- Build the iOS app with eas
- See how your set runtime version has been ignored in the final build artifact
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Happy you were able to resolve this @hannojg, but @dsokal is right that this is weird behavior, thanks for bringing it to our attention!
Yes, when setting the runtime version env when calling
eas build
everything works as expected. Closing this for now, thx!