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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/itiapp_home/article/details/70241011

Xcode升级到8.3后 用命令进行打包 提示下面这个错误

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

后面根据对比发现新版的Xcode少了这个PackageApplication
先去找个旧版的Xcode里面copy一份过来
放到下面这个目录:

/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/1jIPw0Iy 密码: 4htw

阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页