[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7946":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},7946,"xcode-install","xcpretty\u002Fxcode-install","xcpretty","🔽 Install and update your Xcodes","https:\u002F\u002Ffastlane.tools",null,"Ruby",2603,250,41,127,0,1,59.8,"MIT License",false,"master",[23],"hacktoberfest","2026-06-12 04:00:36","# Xcode::Install\n\n[![Gem Version](http:\u002F\u002Fimg.shields.io\u002Fgem\u002Fv\u002Fxcode-install.svg?style=flat)](http:\u002F\u002Fbadge.fury.io\u002Frb\u002Fxcode-install) [![Build Status](https:\u002F\u002Fgithub.com\u002Fxcpretty\u002Fxcode-install\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fxcpretty\u002Fxcode-install\u002Factions)\n\n# This project is being sunset. See the migration guide here: [MIGRATION.md](\u002FMIGRATION.md)\n\nInstall and update your Xcodes automatically.\n\n```\n$ gem install xcode-install\n$ xcversion install 6.3\n```\n\nThis tool uses the [Downloads for Apple Developer](https:\u002F\u002Fdeveloper.apple.com\u002Fdownload\u002Fmore\u002F) page.\n\n## Installation\n\n```\n$ gem install xcode-install\n```\n\nNote: unfortunately, XcodeInstall has a transitive dependency on a gem with native extensions and this is not really fixable at this point in time. If you are installing this on a machine without a working compiler, please use these alternative instructions instead:\n\n```\n$ curl -sL -O https:\u002F\u002Fgithub.com\u002Fneonichu\u002Fruby-domain_name\u002Freleases\u002Fdownload\u002Fv0.5.99999999\u002Fdomain_name-0.5.99999999.gem\n$ gem install domain_name-0.5.99999999.gem\n$ gem install --conservative xcode-install\n$ rm -f domain_name-0.5.99999999.gem\n```\n\n## Usage\n\nXcodeInstall needs environment variables with your credentials to access the Apple Developer\nCenter, they are stored using the [credentials_manager][1] of [fastlane][2]:\n\n```\nXCODE_INSTALL_USER\nXCODE_INSTALL_PASSWORD\n```\n\n### List\n\nTo list available versions:\n\n```\n$ xcversion list\n6.0.1\n6.1\n6.1.1\n6.2 (installed)\n6.3\n```\n\nAlready installed versions are marked with `(installed)`.\n(Use `$ xcversion installed` to only list installed Xcodes with their path).\n\nTo update the list of available versions, run:\n\n```\n$ xcversion update\n```\n\n### Install\n\nTo install a certain version, simply:\n\n```\n$ xcversion install 8\n###########################################################               82.1%\n######################################################################## 100.0%\nPlease authenticate for Xcode installation...\n\nXcode 8\nBuild version 6D570\n```\n\nThis will download and install that version of Xcode. Then you can start it from `\u002FApplications` as usual.\nThe new version will also be automatically selected for CLI commands (see below).\n\n#### GMs and beta versions\n\nNote: GMs and beta versions usually have special names, e.g.\n\n```\n$ xcversion list\n7 GM seed\n7.1 beta\n```\n\nThey have to be installed using the full name, e.g. `xcversion install '7 GM seed'`.\n\n#### `.xcode-version`\n\nWe recommend the creation of a `.xcode-version` file to explicitly declare and store the Xcode version to be used by your CI environment as well as your team.\n\n```\n12.5\n```\n\nRead [the proposal](\u002FXCODE_VERSION.md) of `.xcode-version`.\n\n### Select\n\nTo see the currently selected version, run\n```\n$ xcversion selected\n```\n\nTo select a version as active, run\n```\n$ xcversion select 8\n```\n\nTo select a version as active and change the symlink at `\u002FApplications\u002FXcode`, run\n```\n$ xcversion select 8 --symlink\n```\n\n### Command Line Tools\n\nXcodeInstall can also install Xcode's Command Line Tools by calling `xcversion install-cli-tools`.\n\n### Simulators\n\nXcodeInstall can also manage your local simulators using the `simulators` command.\n\n```\n$ xcversion simulators\nXcode 6.4 (\u002FApplications\u002FXcode-6.4.app)\niOS 7.1 Simulator (installed)\niOS 8.1 Simulator (not installed)\niOS 8.2 Simulator (not installed)\niOS 8.3 Simulator (installed)\nXcode 7.2.1 (\u002FApplications\u002FXcode-7.2.1.app)\niOS 8.1 Simulator (not installed)\niOS 8.2 Simulator (not installed)\niOS 8.3 Simulator (installed)\niOS 8.4 Simulator (not installed)\niOS 9.0 Simulator (not installed)\niOS 9.1 Simulator (not installed)\ntvOS 9.0 Simulator (not installed)\nwatchOS 2.0 Simulator (installed)\n```\n\nTo install a simulator, use `--install` and the beginning of a simulator name:\n\n```\n$ xcversion simulators --install='iOS 8.4'\n###########################################################               82.1%\n######################################################################## 100.0%\nPlease authenticate to install iOS 8.4 Simulator...\n\nSuccessfully installed iOS 8.4 Simulator\n```\n\n## Limitations\n\nUnfortunately, the installation size of Xcodes downloaded will be bigger than when downloading via the Mac App Store, see [#10](\u002F..\u002F..\u002Fissues\u002F10) and feel free to dupe the radar. 📡\n\nXcodeInstall automatically installs additional components so that it is immediately usable from the\ncommandline. Unfortunately, Xcode will load third-party plugins even in that situation, which leads\nto a dialog popping up. Feel free to dupe [the radar][5]. 📡\n\nXcodeInstall normally relies on the Spotlight index to locate installed versions of Xcode. If you use it while\nindexing is happening, it might show inaccurate results and it will not be able to see installed\nversions on unindexed volumes.\n\nTo workaround the Spotlight limitation, XcodeInstall searches `\u002FApplications` folder to locate Xcodes when Spotlight is disabled on the machine, or when Spotlight query for Xcode does not return any results. But it still won't work if your Xcodes are not located under `\u002FApplications` folder.\n\n## Thanks\n\nThanks to [@neonichu](https:\u002F\u002Fgithub.com\u002Fneonichu), the original (and best) author.\n\n[This][3] downloading script which has been used for some inspiration, also [this][4]\nfor doing the installation. Additionally, many thanks to everyone who has contributed to this\nproject, especially [@henrikhodne][6] and [@lacostej][7] for making XcodeInstall C extension free.\n\n## Contributing\n\n1. Fork it ( https:\u002F\u002Fgithub.com\u002Fxcpretty\u002Fxcode-install\u002Ffork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n### Running tests\n\n```\nbundle exec rake spec\n```\n\n### Running code style linter\n\n```\nbundle exec rubocop -a\n```\n\n## License\n\nThis project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE) file.\n\n> This project and all fastlane tools are in no way affiliated with Apple Inc or Google. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.\n\n[1]: https:\u002F\u002Fgithub.com\u002Ffastlane\u002Ffastlane\u002Ftree\u002Fmaster\u002Fcredentials_manager#using-environment-variables\n[2]: http:\u002F\u002Ffastlane.tools\n[3]: http:\u002F\u002Fatastypixel.com\u002Fblog\u002Fresuming-adc-downloads-cos-safari-sucks\u002F\n[4]: https:\u002F\u002Fgithub.com\u002Fmagneticbear\u002FJenkins_Bootstrap\n[5]: http:\u002F\u002Fwww.openradar.me\u002F22001810\n[6]: https:\u002F\u002Fgithub.com\u002Fhenrikhodne\n[7]: https:\u002F\u002Fgithub.com\u002Flacostej\n","xcode-install 是一个用于自动安装和更新 Xcode 的 Ruby 工具。它通过 Apple Developer 网站下载 Xcode 版本，并支持列出、安装及选择特定版本的 Xcode，便于开发者管理和切换不同的开发环境。此工具特别适用于需要维护多个 Xcode 版本的开发场景，如持续集成（CI）系统中确保构建环境的一致性。使用时需配置 Apple 开发者账号凭证以访问下载资源。尽管项目已进入维护阶段，但其提供的功能对于简化 Xcode 管理流程依然十分有用。",2,"2026-06-11 03:15:10","top_language"]