LoginSignup
22
13

More than 5 years have passed since last update.

(メモ)xcrunでsdkが見つからないエラーが出る場合の対処

Posted at

エラー内容

  • MacのXcodeをインストール直後、コマンドラインから操作するxcrunコマンドを使おうとしたら下記のエラーがでて使えなかった
$ xcrun --sdk iphoneos --show-sdk-path
xcrun: error: SDK "iphoneos" cannot be located

これで解決

  • パス解決の問題らしく下記のコマンドで動くようになりました
$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
22
13
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
22
13