Xcode升级到8.3.1后PackageApplication被删除导致Jenkins打包问题

xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH

Xcode升级到8.3.1后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

最后附上PackageApplication下载地址:
链接: https://pan.baidu.com/s/1miPZcus

你可能感兴趣的:(Xcode升级到8.3.1后PackageApplication被删除导致Jenkins打包问题)