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
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
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/