actions-marketplace-validations/Xcodebuild Action
Runs xcodebuild e.g. to run tests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Oct 31, 2022
- License
- Apache 2.0
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/sersoft-gmbh_xcodebuild-action@74fa5c0560a17e3f7db658ea593603ca0ea324e8 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| workspace | The path to the xcworkspace to build. Mutually exclusive with `project` and `spm-package`. See also `xcodebuild`'s `-workspace`. | no | — |
| project | The path to the xcodeproj to build. Mutually exclusive with `workspace` and `spm-package`. See also `xcodebuild`'s `-project`. | no | — |
| spm-package | The path to the SPM package (folder containing Package.swift) to build. Mutually exclusive with `workspace` and `project`. | no | — |
| scheme | The scheme to build. Required when using a workspace. See also `xcodebuild`'s `-scheme`. | no | — |
| target | The target to build. See also `xcodebuild`'s `-target`. | no | — |
| destination | The destination specifier to build. See also `xcodebuild`'s `-destination`. | no | — |
| configuration | The configuration to build. See also `xcodebuild`'s `-configuration`. | no | — |
| sdk | The SDK to use for building. See also `xcodebuild`'s `-sdk`. | no | — |
| arch | The architecture to use for building. See also `xcodebuild`'s `-arch`. | no | — |
| xcconfig | The path to an xcconfig file with build settings overrides. See also `xcodebuild`'s `-xcconfig`. | no | — |
| jobs | The number of jobs to use for building. See also `xcodebuild`'s `-jobs`. | no | — |
| parallelize-targets | If `true`, the targets will be built in parallel. See also `xcodebuild`'s `-parallelizeTargets`. | no | — |
| enable-code-coverage | If `true`, code coverage is enabled while testing. See also `xcodebuild`'s `-enableCodeCoverage`. | no | — |
| parallel-testing-enabled | If `true`, tests are executed in parallel. See also `xcodebuild`'s `-parallel-testing-enabled`. | no | — |
| maximum-concurrent-test-device-destinations | The maximum number of device destinations to run in parallel. See also `xcodebuild`'s `-maximum-concurrent-test-device-destinations`. | no | — |
| maximum-concurrent-test-simulator-destinations | The maximum number of simulator destinations to run in parallel. See also `xcodebuild`'s `-maximum-concurrent-test-simulator-destinations`. | no | — |
| quiet | If `true`, xcodebuild won't print anything except warnings and errors. See also `xcodebuild`'s `-quiet`. | no | — |
| hide-shell-script-environment | If `true`, xcodebuild won't print the environment for shell build scripts. See also `xcodebuild`'s `-hideShellScriptEnvironment`. | no | — |
| enable-address-sanitizer | Whether the address sanitizer should be enabled. See also `xcodebuild`'s `-enableAddressSanitizer`. | no | — |
| enable-thread-sanitizer | Whether the thread sanitizer should be enabled. See also `xcodebuild`'s `-enableThreadSanitizer`. | no | — |
| enable-undefined-behavior-sanitizer | Whether the undefined behavior sanitizer should be enabled. See also `xcodebuild`'s `-enableUndefinedBehaviorSanitizer`. | no | — |
| result-bundle-path | The path that should be used for the result bundle. See also `xcodebuild`'s `-resultBundlePath`. | no | — |
| result-bundle-version | The version that should be used for the result bundle. See also `xcodebuild`'s `-resultBundleVersion`. | no | — |
| cloned-source-packages-path | The path that should be used for the cloning of remote packages. See also `xcodebuild`'s `-clonedSourcePackagesDirPath`. | no | — |
| derived-data-path | The path that should be used for derived data. See also `xcodebuild`'s `-derivedDataPath`. | no | — |
| xcroot | The path to a .xcroot to use for building and/or testing. See also `xcodebuild`'s `-xcroot`. | no | — |
| xctestrun | The path to a test run specification. See also `xcodebuild`'s `-xctestrun`. | no | — |
| test-plan | The name of the test plan associated with the scheme to use for testing. See also `xcodebuild`'s `-testPlan`. | no | — |
| only-testing | A (line-separated) list of tests to run. See also `xcodebuild`'s `-only-testing`. | no | — |
| skip-testing | A (line-separated) list of tests to skip. See also `xcodebuild`'s `-skip-testing`. | no | — |
| skip-unavailable-actions | Whether unavailable actions should be skipped instead of failing the execution. See also `xcodebuild`'s `-skipUnavailableActions`. | no | — |
| allow-provisioning-updates | Whether provisioning updates are allowed. See also `xcodebuild`'s `-allowProvisioningUpdates`. | no | — |
| allow-provisioning-device-registration | Whether provisioning device registrations are allowed. See also `xcodebuild`'s `-allowProvisioningDeviceRegistration`. | no | — |
| build-settings | Arbitrary, space separated build settings (e.g. PLATFORM_NAME=iphonesimulator). | no | — |
| action | The action to perform (e.g. build, test, ...). Can also contain multiple actions. | yes | test |
| use-xcpretty | Whether the output of xcodebuild should be forwarded to xcpretty. | yes | true |
| xcpretty-colored-output | Whether xcpretty should use colored output (e.g. `xcpretty --color`). | yes | true |
| dry-run | <TEST ONLY> Whether the commands should only be composed and not actually run. Only used in test. | no | — |
Outputs
| name | description |
|---|---|
| unprocessed-command | The unprocessed command from which the executed command was resolved. E.g. paths are not resolved in this one. |
| executed-command | The command that was executed. |