0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Xcode】macOS Tahoe で Xcode15.4 をビルドツールとして使用する

0
Last updated at Posted at 2026-08-29

1. 概要

UnrealEngine5.4.4 で Xcode15.4 が必要だったので、ビルドツールとして使用する方法を調査しました。
本来であれば、アプリを開くだけでXcodeの設定からビルドツールとして設定できるようになるのですが、そもそもアプリが開けなくなっているので、回避したやり方を紹介します。

2. 解決方法

1. Xcode15.4 をダウンロードします。
https://developer.apple.com/download/all/?q=Xcode%2015.4

2. ダウンロードした .xip を解凍し、
解凍してできた Xcode.app を Xcode15.4.app にリネームして、
/Applications/ フォルダに移動します。

3.ターミナルを開き、以下のコマンドを叩いて、ビルドツールを切り替えます。
sudo xcode-select -s /Applications/Xcode15.4.app/Contents/Developer

4. ライセンスに同意しておきます。
sudo xcodebuild -license accept

5. 初回起動しておきます。(何も起きなかったので意味ないかも)
sudo xcodebuild -runFirstLaunch

6. 最後にバージョンを確認しておきます。
xcodebuild -version


戻すときは簡単です。
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

そして確認。
xcodebuild -version

3. 参考元

sudo xcodebuild -runFirstLaunch について
https://stackoverflow.com/questions/19668537/xcode-install-additional-required-components-using-command-line

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?