eas-cli icon indicating copy to clipboard operation
eas-cli copied to clipboard

EAS Update to build only either IOS or Android

Open davidyang opened this issue 3 years ago • 1 comments

Do you understand that any feature requests opened in this repository will be closed?

Yes

davidyang avatar Oct 19 '22 05:10 davidyang

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

davidyang avatar Oct 19 '22 05:10 davidyang

+1

pfcodes avatar Feb 13 '23 09:02 pfcodes

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

quinlanj avatar May 23 '23 00:05 quinlanj