Automate Xcode build

there’s a simple way to build your Xcode project from command line:

xcodebuild

assume your project test.xcodeproj has two targets: testing and release.

Building the release target is simple:

xcodebuild -project test.xcodeprojĀ -configuration release -target releaseĀ 

Once Xcode has finished building you’ll find your .ipa in the directory

<yourproject>/build/release-iphoneos/

Advertisements