xcodebuild
To build an Xcode project from the command line, run “xcodebuild” in your project directory. Here are some useful examples:
xcodebuild -configuration Debug xcodebuild -configuration Release clean build
Consult ‘man xcodebuild’ for more information.
