码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2018-07-02 13:33:09      阅读:794      评论:0      收藏:0      [点我收藏+]

标签:EAP   led   rms   nbsp   select   com   密码   class   error   

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/1ihh9j70KLAlHICEMooVlCQ  密码:cvq7

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

标签:EAP   led   rms   nbsp   select   com   密码   class   error   

原文地址:https://www.cnblogs.com/lxlx1798/p/9253365.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!