O'Reilly logo
  • Marco Sciamanna thinks this is interesting:

the following command

From

Cover of Swift 2 Cookbook

Note

You may need also:

xcodebuild clean build CODE_SIGN_IDENTITY=”” CODE_SIGNING_REQUIRED=NO -target “try” -configuration Debug

To avoid issues with codesign stuff.

( source: <http://stackoverflow.com/questions/11034133/building-ios-applications-using-xcodebuild-without-codesign> )