Skip to content
feather

GitHub Action

Setup Xcode environment

v2.0.2 Latest version

Setup Xcode environment

feather

Setup Xcode environment

Setup a Xcode environment and optionally downloading

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Xcode environment

uses: sinoru/[email protected]

Learn more about this action in sinoru/actions-setup-xcode

Choose a version

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: '[email protected]' # 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