Select this option if want to run tests after your project is built. If your project is built under Xcode 5+, checking the Run test option below automatically adds the test build action to the list (unless the option is already explicitly specified in the current field). It is not recommended changing this field unless you are sure you want to change the number or order of actions. A space-separated list of the following actions is supported: clean, build, test, archive, installsrc, install the order of actions will be preserved during execution. You can choose an architecture to build your project with (the list of available architectures is formed according to the architectures available on your agents for the platform selected). You can choose an SDK to build your project with (the list of available SDKs is formed according to the SDKs available on your agents for the platform selected). Select from the default, iOS, macOS or Simulator - iOS or any other platform (if it is provided by the agent) to build your project on. Make sure your Path to the project is set correctly and click the Check/Reparse Project button to show/refresh the configurations list. Since the configuration depends on the target, you must choose the target first. The list of available configurations is formed by parsing your project files in the VCS. Make sure your Path to the project is set correctly and click the Check/Reparse Project button to show/refresh the targets list. The list of available targets is formed by parsing your project files in the VCS. Specify the custom path relative to the checkout directory. More information on managing Xcode schemes is available in the Apple documentation.Ĭheck the Use custom box to override the default path for the files produced by your build. To check the latter, use the VCS tree popup next to the Path to the project or workspace field). Note that a scheme must be shared to be shown in the list (to check if your scheme is shared, verify that it is located under the xcshareddata directory and not under the xcuserdata one, and that the xcshareddata folder is committed to your VCS. Make sure your Path to the project or workspace is set correctly and click the Check/Reparse Project button to show/refresh the schemes list. The list of available schemes is formed by parsing your project/workspace files in the VCS. Depending on the selection, the settings displayed will vary. Select either a target-based (for project) or scheme-based (for project and workspace) build. For Xcode 3 build, only the path to the project file is supported. xcworkspace) workspace file, should be relative to the checkout directory. Note that if you use xcode-select, the agent must be restarted, as it only detects Xcode distributions and reports them to the server during startup. Command to switch: sudo xcode-select -s path_to_xcode_distribution. ![]() Path to Xcode: /Applications/Xcode.app/Contents/Developer. Select the default XCode distribution using the xcode-select tool. ![]() Specify the path to the required version in the "Path to Xcode" setting (see below) of the Xcode Project build step settings If several Xcode versions are installed, perform one of the following: The agent restart is required if Xcode was installed/updated. If only one Xcode version is installed on the agent machine, it will be used by default. To run an Xcode build, you need to have one or more build agents running macOS with installed Xcode. The runner provides structured build log based on Xcode build stages, detects compilation errors, reports tests from the xcodebuild utility, adds automatic agent requirements for the appropriate version of tools installed (Xcode, SDKs, and so on) and reporting tools via agent properties. The Xcode Project build runner supports Xcode 3 (target-based build), Xcode 4 (scheme-based build), Xcode 5-13.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |