28 Xcode と Command Line Tools

Xcode の最新版は App Store で入手できる。 古いものは https://developer.apple.com/から入手する。

Apple の公式資料では、たとえば Xcode 26 は macOS Sequoia 15.6 以降、 Xcode 16 は macOS Sonoma 14.5 以降、Xcode 15 は macOS Ventura 13.5 以降、 Xcode 14.3.1 は macOS Ventura 13.0 以降、 Xcode 13 は macOS 11.3 以降を要求します。

Ventura 13.7.8 だったら Xcode15 .... Xcode15.2 かな。

https://developer.apple.com/xcode/https://developer.apple.com/download/all/

Xcode某.xip を展開する。

Xcode.app/Applications に入れる。
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license
これで agree する。

Command Line のインストール
xcode-select --install

xcode-select -p
clang --version



桂田 祐史