To build an iOS app for Simulator in the command line you need Xcode Command Line tools installed as described here. Once installed, you can use the following command in the terminal: xcrun xcodebuild \ -scheme $XCODE_SCHEME \ -project $XCODE_PROJECT \ -configuration Debug \ -destination ‘platform=iOS Simulator,name=iPhone 6,OS=10.2,arch=x86_64’ \ -derivedDataPath \ build Notes: this code …
|