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

xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
 
 
1、复制一份packageappliation 到下面目录
/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin/
 
2、执行命令
sudo code-select -switch /applications/xcode.app/contens/developer/
 
chmod +x /applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin/packageappliation
 
(下载地址:https://pan.baidu.com/s/1jHJF2Lo)

posted @ 2018-06-15 14:30  stone8386  阅读(268)  评论(0编辑  收藏  举报