xcodebuild -workspace App.xcworkspace -scheme App -configuration Release build

Category: React Native & Mobile

xcodebuild -workspace App.xcworkspace -scheme App -configuration Release build

Build the iOS app from the command line

Compiles the app using the workspace and scheme, in Release configuration. This is what CI runs to produce the .app bundle. Add -sdk iphonesimulator to build for the simulator instead of a device.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.