How to build Xcode project from the command line?
After having a working configuration in Xcode, open a shell and navigate to the directory, where your <NAME>.xcodeproj
resides.
After running:
xcodebuild -list -project <NAME>.xcodeproj/
you see a list of Schemes.
Copy the desired scheme name and run:
xcodebuild -scheme <SCHEME NAME> build
You can install ios-deploy i.e. via:
npm install -g ios-deploy
Copy the app path from the end of the xcodebuild output and run:
ios-deploy --debug --bundle <APP PATH>
Now the app should be launched on i.e. a connected device.