Skip to content
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

Feat: customise ios build folder location with buildFolder flag #1729

Merged

Conversation

adamTrz
Copy link
Collaborator

@adamTrz adamTrz commented Oct 30, 2022

Summary:

Fixes #1706

Test Plan:

Clone the branch and run react-native run-ios --buildFolder "build" command.
It should run the app as usual but put build artifacts into ios/build folder.

image

@@ -38,6 +38,7 @@ type FlagsT = {
port: number;
terminal: string | undefined;
xcconfig?: string;
iosBuildFolder?: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's already a "run ios" command, buildFolder would be descriptive enough :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍

Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the docs entry and we're good!

@thymikee thymikee merged commit 7a488bd into react-native-community:main Oct 31, 2022
@thymikee thymikee changed the title Feat: customise ios build folder location with iosBuildFolder flag Feat: customise ios build folder location with buildFolder flag Oct 31, 2022
@adamTrz adamTrz deleted the feat-specify-ios-build-output-dir branch November 4, 2022 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for customising iOS build folder for run-ios command
2 participants