ios build errors - iphonesimulator cannot be located

이창주·2024년 4월 9일
error: failed to get iphonesimulator SDK path: process exit with error: xcrun: error: SDK "iphonesimulator" cannot be located
       xcrun: error: SDK "iphonesimulator" cannot be located
       xcrun: error: unable to lookup item 'Path' in SDK 'iphonesimulator'

xcode를 설치한다 https://xcodereleases.com/

https://stackoverflow.com/a/43791655

  1. Open in XCode Preferences, tab into Locations and take a look at your Command Line Tools selection. Mine was empty. When I changed it to the current used version suddenly the error was gone

  2. sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/


profile
coder,maker,custom

0개의 댓글