百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

setup-xcode

> 编程语言
开源

使用特定版本的 Xcode 设置 GitHub Actions 工作流程

392 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

使用特定版本的 Xcode 设置 GitHub Actions 工作流程

setup-xcode

This action is intended to switch between pre-installed versions of Xcode for macOS images in GitHub Actions.

The list of all available versions can be found in runner-images repository.

Available parameters

Argument Description Format
xcode-version Specify the Xcode version to use - latest or
  • latest-stable or
  • SemVer string or
  • -beta |

Notes:

  • latest-stable points to the latest stable version of Xcode
  • latest includes beta releases that GitHub actions has installed
  • SemVer examples: 16, 16.4, 26.3, ^16.2.0 (find more examples in SemVer cheatsheet)
  • -beta suffix after SemVer will only select among beta releases that GitHub actions has installed
  • If sets a specific version, wraps it to single quotes in YAML like '12.0' to pass it as string because GitHub trimmes trailing .0 from numbers

Usage

Set the latest stable Xcode version:

jobs:
  build:
    runs-on: macos-latest
    steps:
    - uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: latest-stable

Set the latest Xcode version including beta releases:

jobs:
  build:
    runs-on: macos-latest
    steps:
    - uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: latest

Set the specific stable version of Xcode:

jobs:
  build:
    runs-on: macos-15
    steps:
    - uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: '16.4'

Set a specific Xcode version on macos-26:

jobs:
  build:
    runs-on: macos-26
    steps:
    - uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: '26.3'

License

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

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言