Launch React Build iOS Releases

I am trying to start the release build directly from the terminal, and I did not find a way to do this.

From Xcode, the following is required:

Product -> Scheme -> Edit Scheme (cmd + <), make sure that you are in the Run tab on the side and set the drop-down menu "Assembly Configuration" release.

http://facebook.imtqy.com/react-native/docs/running-on-device-ios.html#building-your-app-for-production

Is there any option out react-native-clito do the same? Something like react-native run-ios -configuration Release?

My goal is to generate an assembly that does not require the server to run in order to provide a QA command, for example.

+4
source share
2

PR React Native, . PR: https://github.com/facebook/react-native/commit/ca7cbdee858e84c4a74a2d9c7be151f5cfdcfbfe

, : react-native run-ios --configuration Release

+12

Source: https://habr.com/ru/post/1659174/


All Articles