xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
Xcode升級到8.3后 用命令進(jìn)行打包 提示下面這個錯誤
xcrun:error: unabletofind utility"PackageApplication",nota developer toolorinPATH
后面根據(jù)對比發(fā)現(xiàn)新版的Xcode少了這個PackageApplication
先去找個舊版的Xcode里面copy一份過來
放到下面這個目錄:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
然后執(zhí)行命令
sudo xcode-select -switch/Applications/Xcode.app/Contents/Developer/
chmod +x/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication
最后附上PackageApplication下載地址:
鏈接: https://pan.baidu.com/s/1jIPw0Iy 密碼: 4htw