Questions related to the use of the command-line xcodebuild tool, which is part of Apple's Xcode toolset
xcodebuild builds one or more targets contained in an xcode project, or builds a scheme contained in an Xcode workspace or Xcode project.
Usage
To build an Xcode project, run xcodebuild from the directory containing your project (i.e. the
directory containing the projectname.xcodeproj
package). If you have multiple projects in the this
directory you will need to use -project
to indicate which project should be built. By default,
xcodebuild builds the first target listed in the project, with the default build configuration. The
order of the targets is a property of the project and is the same for all users of the project.