Build with Xcode

Version 3 by Steve Luo
on Mar 11, 2014 08:40.


compared with
Current by Steve Luo
on Mar 11, 2014 10:30.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 2 changes. View first change.

 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 invokes xcodebuild command to build the Xcode project. By default, QuickBuild uses the system path of xcodebuild, normally, it is /usr/bin/xcodebuild, you can override the xcodebuild path by configuring the setting of Xcode plugin.
  
 h3. Configure Xcode build step
  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.