Look atxcodebuild
. We've got a rant about cocoa development in emacs, which includes a discussion ofpbxbuild
, the predecessor toxcodebuild
. Some of the arguments have changed over the years. I usually run it like:% xcodebuild -configuration "Debug" -target "My Groovy App"If you have one target, or have a default target, you can leave out the-target
argument.