XCODEBUILD

NAME
xcodebuild -- build Xcode projects SYNOPSIS
xcodebuild [-project projectname] [-activetarget] [-alltargets] [-target targetname] [-activeconfiguration] [-configuration configurationname] [buildaction ...] [setting=value ...] xcodebuild -version xcodebuild -list xcodebuild -help DESCRIPTION
xcodebuild builds a target contained in an Xcode project. Usage Run xcodebuild from the directory containing your project (i.e. the directory containing the projectname.xcode 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 your 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. The active target and active build configuration properties are set for each user of the project and can vary from user to user. Options -project projectname Build the project specified by projectname. Required if there are multiple project files in the same directory. -activetarget Builds the user's active target. -alltargets Build all the targets in the project. -target targetname Build the target specified by targetname. -activeconfiguration Use the user's active build configuration when building the target. -configuration configurationname Use the build configuration specified by configurationname when building the target. buildaction ... Specify a build action (or actions) to perform on the target. Available build actions are: build Build the target in the build root (SYMROOT). This is the default build action. installsrc Copy the source of the project to the source root (SRCROOT). install Build the target and install it into the target's installation directory in the distribution root (DSTROOT). clean Remove build products and intermediate files from the build root (SYMROOT). setting=value Set the build setting setting to value. -version Displays version information for xcodebuild. -list Lists the targets in the project. Does not initiate a build. -help Displays usage information for xcodebuild. EXAMPLES
xcodebuild clean install Cleans the build directory; then builds and installs the first target in the project. xcodebuild -target MyTarget OBJROOT=/Build/MyProj/Obj.root SYMROOT=/Build/MyProj/Sym.root Builds the target MyTarget putting object (intermediate) files in one directory and the products of the build in another directory. Mac OS X April 22, 2005 Mac OS X

manual pages:

3 A B C D E F G H I L M N O P Q R S T U W X _
a b c d e f g h i j k l m n o p q r s t u v w x y z



www.osxterminal.com is a website by Andreas Wacker