Skip to content

sinoru/actions-setup-xcode

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

actions-setup-xcode

Unit Tests Tests

This action sets up a Xcode environment for use in actions by:

  • optionally downloading a version of Xcode from Apple Developer. The action will fail if no matching versions are found in local and Apple ID is not available.
  • registering problem matchers for error output

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@master
- uses: sinoru/actions-setup-xcode@v2
  with:
    xcode-version: '13.4' # Exact version of a Xcode version to use
    apple-id: 'bot@sinoru.io' # Apple ID to download from Apple Developer when Xcode not available in local
    apple-id-password: ${{ secrets.APPLE_ID_PASSWORD }}
- run: fastlane scan

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide