登录 注册
其他
4,891
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
Swift
语言
创建时间
最近更新

项目能做什么

用于安装和无缝切换多版本 Xcode 的命令行工具。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# xcodes

The best command-line tool to install and switch between multiple versions of Xcode.

_If you're looking for an app version of `xcodes`, try [Xcodes.app](https://github.com/XcodesOrg/XcodesApp)._

![CI Status](https://github.com/XcodesOrg/xcodes/workflows/CI/badge.svg)

![Header Image](Header.png)

### :tada: Announcement

Xcodes is now part of the `XcodesOrg` - [read more here](nextstep.md)

## Installation

### Homebrew (Preferred)

```sh
brew install xcodesorg/made/xcodes
```

These are Developer ID-signed and notarized release builds and don't require Xcode to already be installed in order to use.

**Other methods:**

<details>
<summary>Download a release</summary>

Download the latest release from the [Releases](https://github.com/XcodesOrg/xcodes/releases) page. These are Developer ID-signed release builds and don't require Xcode to already be installed in order to use.
</details>

<details>
<summary>Using <a href="https://github.com/yonaskolb/Mint">Mint</a></summary>

```sh
mint install XcodesOrg/xcodes
```

</details>

<details>
<summary>Build from source</summary>

Building from source requires Xcode 12.0 or later, so it's not an option for setting up a computer from scratch.

```sh
git clone https://github.com/XcodesOrg/xcodes
cd xcodes
make install
# or, if /usr/local/ isn't in your PATH
PREFIX=/your/install/directory make install
```

While installing, you may get the following output:

```sh
swift build
error: terminated(72): xcrun --sdk macosx --find xctest output:
```

If that occurs, it means you need to select a version of Xcode. You can do this with `xcode-select` or by choosing a Command Line Tools option in Xcode's preferences Locations tab.
</details>

## Usage

### Install Xcode : 

Install a specific version of Xcode using a command like one of these:

```sh
xcodes install 10.2.1
xcodes install 11 Beta 7
xcodes install 11.2 GM seed
xcodes install 9.0 --path ~/Archive/Xcode_9.xip
xcodes install 27.3 Beta --path ~/Archive/Xcode_27.3_beta.aea
xcodes install --latest-prerelease
xcodes install --latest --directory "/Volumes/Bag Of Holding/"
xcodes install --latest --experimental-unxip
```

Installing an `.aea` archive requires macOS with `archiveutil extractXcodeAEA`. If Xcode Releases has an outdated link, try installing with `--data-source apple`.

You'll then be prompted to enter your Apple ID username and password. You can also provide these with the `XCODES_USERNAME` and `XCODES_PASSWORD` environment variables.

After successfully authenticating, xcodes will save your Apple ID password into the keychain and will remember your Apple ID for future use. If you need to use a different Apple ID than the one that's remembered, set the `XCODES_USERNAME` environment variable.

xcodes will download and install the version you asked for so that it's ready to use.

```sh
(1/6) Downloading Xcode 11.2.0: 100%
(2/6) Unarchiving Xcode (This can take a while)
(3/6) Moving Xcode to /Applications/Xcode-11.2.0.app
(4/6) Moving Xcode
阅读完整原文

商业机会分析 AI 生成

Xcode 缓存与分发加速网关(面向企业 CI/CD)

产品构想基于 xcodes 核心逻辑,为团队构建本地/私有网关,代理下载、解压校验并内网广播 Xcode 镜像,集成企业 SSO 避免 Apple 凭据泄露。
核心功能局域网 P2P/缓存镜像加速、支持多 Runner 预热下载、统一 Apple ID 集中鉴权与令牌代理、CI/CD 插件(GitHub Actions / GitLab CI)
目标用户企业移动端工程基础设施团队、运维工程师
难度/周期中等 · 2-3 个月 · 成本:低(基础服务器、自建测试环境与 Apple 开发者账号成本)
收费模式按受管理的 CI Runner 节点数或团队规模订阅收费
竞争风险Apple 协议或下载加密格式变动导致解析失效;依赖官方 CDN 限流策略变更
依据 已验证事实(xcodes 原生支持 aria2 加速与指定安装源,企业 CI 对下载耗时敏感)

macOS 开发者环境一键治理 GUI 工具(增强版商业桌面端)

产品构想在 Xcodes.app 基础上扩展,集成 Xcode 版本切换、旧版/DerivedData/Simulators 深度清理、SDK 补丁与开发者工具链协同管理的一体化商业应用。
核心功能Xcode 快速换源与秒级切换、模拟器 Runtimes 智能卸载与瘦身、构建缓存智能清理、崩溃日志辅助诊断
目标用户Mac 本地开发的 iOS/macOS 工程师、设计/测试人员
难度/周期低 · 1-2 个月 · 成本:低(Apple 开发者签名与公证费用)
收费模式买断制(Setapp 入驻或 Gumroad/Paddle 销售独立 License)
竞争风险官方免费版 Xcodes.app 功能重叠,个人付费意愿一般(AI推测)
依据 已验证事实(xcodes 仓库明确存在 Xcodes.app 关联,已有 GUI 需求与高星标基础)

托管型 Apple CI Runner 镜像预热与调度 SaaS

产品构想提供预装多版本 Xcode 环境的云端 macOS Runner 托管或混合云环境同步服务,免除团队维护物理 Mac mini 矩阵的繁琐配置。
核心功能秒级启动的特定 Xcode 版本容器/VM、自动同步最新 Xcode Beta/Release 版本、无缝对接 GitHub Actions 自托管 Runner
目标用户初创科技公司、中型跨平台应用开发团队(Flutter/React Native/Native iOS)
难度/周期高 · 4-6 个月 · 成本:高(Mac 硬件采购/云 Mac 租赁成本、高上行带宽成本)
收费模式按构建时长或每个托管 Runner 月付订阅
竞争风险Mac 虚拟化合规限制(EULA)、硬件固定投入大、面临 MacStadium/AWS/Cirrus 等巨头直接竞争
依据 AI推测(CI 场景频繁切换 Xcode 版本具有高痛点,但需结合云资源整合)
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
x1xhlol/system-prompts-and-models-of-ai-tools 中文介绍暂未生成
FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cu
144,621 -
xtool-org/xtool 中文介绍暂未生成
Cross-platform Xcode replacement. Build and deploy iOS apps
15,313 Swift
alcatraz/Alcatraz 中文介绍暂未生成
Package manager for Xcode
9,771 Objective-C
nicklockwood/SwiftFormat 中文介绍暂未生成
A command-line tool and Xcode Extension for formatting Swift
8,960 Swift
yonaskolb/XcodeGen 中文介绍暂未生成
A Swift command line tool for generating your Xcode project
8,948 Swift
XcodesOrg/XcodesApp 中文介绍暂未生成
The easiest way to install and switch between multiple versi
8,646 Swift
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 ,最近推送 ,发布过 38 个 Release
社区活跃Star 4,891 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/XcodesOrg/xcodes.git
cd xcodes
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。