終端使用swift命令出現(xiàn) 如圖2020-03-12上午11.53.42.png 只需要轉(zhuǎn)換目錄即可 在終端中輸入: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer 如圖2020-03-12上午11.55.47.png