您的位置:首页 > 移动开发

打包找不到 "PackageApplication" 文件, not a developer tool or in PATH

2018-01-18 12:12 996 查看

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

xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
后面根据对比发现新版的Xcode的中少了这个PackageApplication先去找个旧版的Xcode中的里面拷贝过来一份者去下面链接下载一份包装应用链接:HTTPS://pan.baidu.com/s/1jIPw0Iy密码:4htw
放到下面这个目录:
/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
结束
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐