https://github.com/macmade/action-xcodebuild
GitHub Action for xcodebuild.
https://github.com/macmade/action-xcodebuild
action build github github-action github-actions ios macos xcode xcodebuild
Last synced: 3 months ago
JSON representation
GitHub Action for xcodebuild.
- Host: GitHub
- URL: https://github.com/macmade/action-xcodebuild
- Owner: macmade
- License: mit
- Created: 2021-09-08T20:55:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T20:08:07.000Z (over 2 years ago)
- Last Synced: 2025-03-29T08:11:28.392Z (4 months ago)
- Topics: action, build, github, github-action, github-actions, ios, macos, xcode, xcodebuild
- Homepage:
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
action-xcodebuild
=================[](https://github.com/macmade/action-xcodebuild/issues)


[](https://twitter.com/macmade)
[](https://github.com/sponsors/macmade)### About
GitHub Action for xcodebuild.
**Usage**:
- uses: macmade/[email protected]
**Matrix configuration**:
- **scheme**: `String`
The Xcode scheme on which to perform actions.
- **configuration**: `String`
The Xcode configuration to use (eg. `Debug`, `Release`).
- **project**: `String`
The Xcode project on which to perform actions.
- **build**: `Integer`
`0` or `1`: whether to build the project.
- **analyze**: `Integer`
`0` or `1`: whether to run static analysis on the project.
- **test**: `Integer`
`0` or `1`: whether to build and run configured unit tests.
- **info**: `Integer`
`0` or `1`: whether to print various Xcode related informations.
- **destination**: `String`
The Xcode destination device (eg `platform=macOS`).
**Complete example**:name: ci
on: [push]
jobs:
ci:
runs-on: macos-latest
strategy:
matrix:
run-config:
- { scheme: 'macOS App', configuration: 'Debug', project: 'App.xcodeproj', build: 1, analyze: 1, test: 1, info: 1, destination: 'platform=macOS' }
- { scheme: 'iOS App', configuration: 'Release', project: 'App.xcodeproj', build: 1, analyze: 0, test: 0, info: 1, destination: 'platform=iOS Simulator,name=iPhone 12' }
steps:
- uses: actions/checkout@v1
- uses: macmade/[email protected]License
-------Project is released under the terms of the MIT License.
Repository Infos
----------------Owner: Jean-David Gadina - XS-Labs
Web: www.xs-labs.com
Blog: www.noxeos.com
Twitter: @macmade
GitHub: github.com/macmade
LinkedIn: ch.linkedin.com/in/macmade/
StackOverflow: stackoverflow.com/users/182676/macmade