55
40

More than 1 year has passed since last update.

異なるバージョンの Xcode をインストールするときはブラウザではなく Xcodes.app を使おう!

Last updated at Posted at 2021-08-24

はじめに

Xcode をインストールする時は Safari を使え!と思っていましたが、 Xcodes.app というアプリがあるらしく、そちらの方が便利だと教えていただきました。
使ってみたらとても便利だったのでご紹介します。

Xcodes.app について

こちらが GitHub のリポジトリです。
RobotsAndPencils/XcodesApp: The easiest way to install and switch between multiple versions of Xcode - with a mouse click.

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

複数のXcodeのバージョンを管理するのに適したアプリのようです。

インストール方法

Homebrew

brew install --cask xcodes

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

zip をダウンロード

以下のリンクの zip ファイルをダウンロードしたらすぐに使えます。
Release 1.1.0 (7) · RobotsAndPencils/XcodesApp

今までのインストール方法

Safari でインストールして Xcode を使う

  1. Apple Developer Program から Xcode 最新版のダウンロードリンクを探す
  2. ダウンロードする(めちゃくちゃ時間かかる)
  3. 失敗したらまたダウンロードする ※Safari だとほぼ失敗しないのでおすすめ
  4. ダウンロードが終わったら解凍する(時間かかる)
  5. .zip は不要なのでゴミ箱へ
  6. Xcode の名前が被らないように Xcode_13.0beta5 のように変更する
  7. アプリフォルダに Xcode を移動させる
  8. 終わり

これからのインストール方法

Xcodes.app を使ってインストール

  1. 必要な Xcode のバージョンの INSTALL を押す
  2. 終わり

※初回インストールは AppleID の登録や、パスワード入力があります

使い方

画像の INSTALL ボタンを押すだけ。とても簡単ですね!

CleanShot 2021-08-24 at 12.36.56.png

OPEN を押すと、ちゃんとインストールできていることがわかります。
これは便利だ。。。

CleanShot 2021-08-24 at 12.55.48.png

さいごに

こんな便利なツールがあるなんて知らなかったです!
教えていただいて本当に感謝!

次回からのインストールが劇的に便利になりました。
これからは Xcodes.app を使ってインストールしていきます!

55
40
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
55
40