-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLI] prebuild does not respect settings in expo.platforms #18386
Comments
I guess the same thing should happen for eject as well, last time I used the eject cmd it did not check the value in the json for platform |
@raajnadar - eject does not exist anymore, it was renamed to prebuild. the word eject doesn't make sense here anymore because everything continues working as before, you've just generated native projects. |
@brentvatne not sure when were these changes made, But I still remember I used the Ok that is not a big deal, I thought both do different work |
@raajnadar - it's just an alias for prebuild in expo-cli, and the command itself is marked as superseded under
if you use the new local cli, we tell you to run prebuild instead
|
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Not stale |
Thank you for filing this issue! |
Summary
Running
expo prebuild
will always generateios
andandroid
directories, even though I've specifiedexpo.platforms
to be["ios"]
.We could use
expo prebuild -p ios
but I feel like the platforms array in our settings should be respected out of the box. If nothing or something invalid is set, it could still generate both.What platform(s) does this occur on?
Android, iOS, Web
SDK Version
45
Environment
Reproducible demo
There is none
The text was updated successfully, but these errors were encountered: