eas-cli
eas-cli copied to clipboard
EAS Update to build only either IOS or Android
Do you understand that any feature requests opened in this repository will be closed?
Yes
When I specify --platform=ios on eas-cli update it still builds the Android version. I can build just the IOS platform manually but then when I try npx eas-cli update --platform=ios --skip-bundler I get an error like this:
✖ Failed to upload assets
ValidationError: "fileMetadata.android" is required
+1
Good news: we've fixed this problem a while back in https://github.com/expo/eas-cli/commit/83e50ab54606ce4036da2e4c4db48ada79d90e12
I've manually tested using the following steps:
- ensure dist directory is removed from project directory (
rm -rf dist) - publish for ios platform only:
eas update --platform=ios - ensure only ios bundle and source maps are built:
ls dist/bundles