xcode8.3以上版本xcrun失效

1.原因

缺失PackageApplication

2.解决

PackageApplication下载链接

把PackageApplication放到一下目录

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/

然后执行

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
chmod +x /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication

你可能感兴趣的:(xcode8.3以上版本xcrun失效)