在 Mac 終端執行 shell 腳本時,出現 “xcrun -sdk iphoneos clang is unable to create an executable file.
C compiler test failed.” 報錯。解決方案如下:
在終端執行命令 sudo xcode-select --switch /Applications/Xcode.app
在 Mac 終端執行 shell 腳本時,出現 “xcrun -sdk iphoneos clang is unable to create an executable file.
C compiler test failed.” 報錯。解決方案如下:
在終端執行命令 sudo xcode-select --switch /Applications/Xcode.app