メンチカツ

ロースカツが好きです

Xcode アップデート後の xcodebuild エラー

Xcodeをアップデートしたら、ターミナル起動時にエラーが出るようになってしまった。

xcodebuild[2933:15402] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
xcodebuild[2933:15402] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore

この記事を参考に、Xcode CLI を再インストールすると直った。

apple.stackexchange.com

sudo rm -rf /Library/Developer/CommandLineTools

# install latest
xcode-select --install

xcode-select --install、何かの折に、何度も何度もやってる気がする。