Sandro Machado Sandro Machado - 4 months ago 52
iOS Question

Run a React Native iOS release build from terminal

I am trying to run the release build directly from the terminal and I did not found an option to do that.

From XCode what is required to do is:

Product -> Scheme -> Edit Scheme (cmd + <), make sure you're in the
Run tab from the side, and set the Build Configuration dropdown to

There is any option available from the
to do the same? Something like
react-native run-ios -configuration Release

My objective is to generate a build that does not require the server being running to provide to the QA team for instance.


I did a PR to the React Native project to allow this feature. The PR can be check here:

So, in the future, to run a release build from terminal you just only need to type the following command: react-native run-ios --configuration Release