View Source

Since QuickBuild version 5.1.16, Xcode plugin is bundled. This plugin can help to build Xcode project by calling command [xcodebuild|https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html].

h3. Configure xcodebuild command location

QuickBuild calls the command _xcodebuild_ to build Xcode project. If this command is not in system path, you will need to specify its location in plugin setting of the Xcode plugin through [plugin management] page.
Further more, _xcodebuild_ command location can be specified on a per-node basis by following below steps:
# Open Xcode plugin setting page and set the property _xcodebuild Path_ as:
{code}
${node.getAttribute("xcodePath")}
{code}
# For each node that does not have command _xcodebuild_ on system path, [define the user attribute|Working with Build Grid#define user attributes] _xcodePath_ to point to the actual ant command path, for example:
{code}
xcodePath=/usr/bin/xcodebuild
{code}
In case of user agent node, the user attribute need to be defined [in this way|Manage User Agent#define user attributes].

Please note that in above example, the _xcodePath_ user attribute is just for demonstration purpose. You can use any other user attribute name.