XcodesApp

XcodesApp

多版本Xcode管理和安装的一站式解决方案

XcodesApp是一个专为iOS开发者设计的Xcode版本管理工具。它能列出并安装所有可用的Xcode版本,支持自动化安装和断点续传。该工具允许用户轻松切换活动版本,查看发布说明和兼容性信息。XcodesApp支持多语言界面,提供平台和运行时下载功能,为开发者提供了高效的Xcode管理体验。

Xcodes.appXcode版本管理开发工具自动化安装多语言支持Github开源项目
<h1><img src="icon.png" align="center" width=50 height=50 /> Xcodes.app</h1>

The easiest way to install and switch between multiple versions of Xcode.

If you're looking for a command-line version of Xcodes.app, try xcodes.

CI

:tada: Announcement

XcodesApp is now part of the XcodesOrg - read more here

Features

  • List all available Xcode versions from Xcode Releases' data or the Apple Developer website.
  • Install any Xcode version, fully automated from start to finish. Xcodes uses aria2, which uses up to 16 connections to download 3-5x faster than URLSession.
  • Automatically resumes installs if network errors.
  • Apple ID required to download Xcode versions.
  • Just click a button to make a version active with xcode-select.
  • View release notes, OS compatibility, included SDKs and compilers from Xcode Releases.
  • Dark/Light Mode supported

Platforms/Runtimes

  • Xcodes supports downloading the Apple runtimes via the app. Simply click on the Platform, and Xcodes will install automatically for you.

Experiments

  • Thanks to the wonderful work of https://github.com/saagarjha/unxip, turn on the experiment to increase your unxipping time by up to 70%! More can be found on his repo, but bugs, high memory may occur if used.

Localization

Xcodes supports localization in several languages.

The following languages are supported because of the following community users!

French 🇫🇷@dompepinItalian 🇮🇹gualtierofrigerio
Spanish 🇪🇸🇲@cesartru88Korean 🇰🇷@ryan-son
Russian 🇷🇺@alexmazlovTurkish 🇹🇷@egesucu
Hindi 🇮🇳@KGurpreetChinese-Simplified 🇨🇳@megabitsenmzq
Finnish 🇫🇮@marcusziadeChinese-Traditional 🇹🇼@itszero
Ukranian 🇺🇦@gelosiJapanese 🇯🇵@tatsuz0u
German 🇩🇪@drctDutch 🇳🇱@jfversluis
Brazilian Portuguese 🇧🇷@brunomunizafPolish 🇵🇱@jakex7
Catalan@ferranabelloGreek 🇬🇷@alladinian

Want to add more languages? Simply create a PR with the updated strings file.

Installation

v1.X - requires macOS 11 or newer v2.X - requires macOS 13

Install with Homebrew

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

brew install --cask xcodes

Manually install

  1. Download the latest version here using the Xcodes.zip asset. These are Developer ID-signed and notarized release builds and don't require Xcode to already be installed in order to use.
  2. Move the unzipped Xcodes.app to your /Applications directory

Support

Xcodes.app and CLI is updated, maintained with contributors like yourself. Even open source libraries and tools come with expenses. If you would like to support Xcodes or donate to the development and maintenance of the tool, it would be greatly appreciated. There is absolutely no obligation!

<a href="https://opencollective.com/xcodesapp" target="_blank"> <img src="https://opencollective.com/xcodesapp/donate/button@2x.png?color=blue" class="buymeacoffee" width=200 /> </a>

Development

You'll need macOS 13.5 Ventura and Xcode 15 in order to build and run Xcodes.app.

Unxip and aria2 must be compiled as a universal binary

# compile for Intel
 swiftc -parse-as-library -O -target x86_64-apple-macos11 unxip.swift
# compile for M1
 swiftc -parse-as-library -O -target arm64-apple-macos11 unxip.swift

# combine for universal binary
 lipo -create -output unxip unxip_intel unxip_m1  
# check it
 lipo -archs unxip

Notable design decisions are recorded in DECISIONS.md. The Apple authentication flow is described in Apple.paw, which will allow you to play with the API endpoints that are involved using the Paw app.

xcode-install and fastlane/spaceship both deserve credit for figuring out the hard parts of what makes this possible.

<details> <summary>Releasing a new version</summary>

Follow the steps below to build and release a new version of Xcodes.app. For any of the git steps, you can use your preferred tool, but please sign the tag.

# Update the version number in Xcode and commit the change, if necessary # Question: Did anything in XPCHelper change? # - com.xcodesorg.xcodesapp.Helper folder and HelperXPCShared # - if so, bump the version number in com.xcodesorg.xcodesapp.Helper target. # Note: you do not have to bump the version number if nothing has changed. # Note2: If you do bump the version, the end user, must re-install the XPCHelper and give permission again. # Increment the build number scripts/increment_build_number.sh # Commit the change git add Xcodes/Resources/Info.plist git commit -asm "Increment build number" # Tag the latest commit # Replace $VERSION and $BUILD below with the latest real values git tag -asm "v$VERSIONb$BUILD" "v$VERSIONb$BUILD" # Push to origin git push --follow-tags # Build the app # Make sure you have the Xcode Selected you want to build with scripts/package_release.sh # Notarize the app # Do this from the Product directory so the app is zipped without being nested inside Product # Create a app specific password on appleid.apple.com if you haven't already # xcrun notarytool store-credentials "AC_PASSWORD" \ # --apple-id "test@example.com" \ # --team-id "teamid" \ # --password "app specific password" pushd Product ../scripts/notarize.sh Xcodes.zip <MYORG> # Sign the .zip for Sparkle, note the signature in the output for later # If you're warned about the signing key not being found, see the Xcodes 1Password vault for the key and installation instructions. ../scripts/sign_update Xcodes.zip popd # Go to https://github.com/XcodesOrg/XcodesApp/releases # If there are uncategorized PRs, add the appropriate label and run the Release Drafter action manually # Edit the latest draft release # Set its tag to the tag you just pushed # Set its title to a string with the format "$VERSION ($BUILD)" # Polish the draft release notes, if necessary # Add the signature to the bottom of the release notes in a comment, like: <!-- sparkle:edSignature=$SIGNATURE --> # Attach the zip that was created in the Product directory to the release # Publish the release # Update the [Homebrew Cask](https://github.com/RobotsAndPencils/homebrew-cask/blob/master/Casks/xcodes.rb).
</details>

Maintainers

Matt Kiazyk - Twitter

Twitter | GitHub | Mastadon |

编辑推荐精选

潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
商汤小浣熊

商汤小浣熊

最强AI数据分析助手

小浣熊家族Raccoon,您的AI智能助手,致力于通过先进的人工智能技术,为用户提供高效、便捷的智能服务。无论是日常咨询还是专业问题解答,小浣熊都能以快速、准确的响应满足您的需求,让您的生活更加智能便捷。

imini AI

imini AI

像人一样思考的AI智能体

imini 是一款超级AI智能体,能根据人类指令,自主思考、自主完成、并且交付结果的AI智能体。

Keevx

Keevx

AI数字人视频创作平台

Keevx 一款开箱即用的AI数字人视频创作平台,广泛适用于电商广告、企业培训与社媒宣传,让全球企业与个人创作者无需拍摄剪辑,就能快速生成多语言、高质量的专业视频。

下拉加载更多