こんなのでました。
❯ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Your Xcode (14.0.1) is too outdated.
Please update to Xcode 14.1 (or delete it).
Xcode can be updated from the App Store.
❯ softwareupdate --list
Software Update Tool
Finding available software
No new software available.
❯ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.1.
Warning: Your Xcode (14.0.1) is outdated.
Please update to Xcode 14.1 (or delete it).
Xcode can be updated from the App Store.
❯ softwareupdate --all --install --force
Software Update Tool
Finding available software
No updates are available.
❯ sudo rm -rf /Library/Developer/CommandLineTools
Password:
❯ sudo xcode-select --install
xcode-select: note: install requested for command line developer tools
AppStore は、14.0.1
のまま。
ダメですね。
表示されたマニュアルダウンロード先を見てみたら、
RC2 なんだが。
👉 More - Downloads - Apple Developer
調べてみると、多少、話題にはなってる。
Please install the release candidate. Xcode 14.0.1 does not include the SDK for Ventura.
👉 Brew apparently requires a nonexistent xcode version? · Discussion #3822 · Homebrew
もう、手動GUI作業で入れちゃいました XcodeRC と、そのCLI。
dmg とでかい xip ファイルでした。
確認。
❯ softwareupdate --list
Software Update Tool
Finding available software
No new software available.
❯ xcode-select -v
xcode-select version 2396.
❯ xcodebuild -version
Xcode 14.1
Build version 14B47b
❯ brew doctor
Your system is ready to brew.
これでいきますわ、とりあえず。