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相关的知识,希望能为你提供帮助。
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/
【xcrun: error: unable to find utility " PackageApplication" , not a developer tool or in PATH】
chmod +x /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication
最后附上PackageApplication下载地址:
链接:https://pan.baidu.com/s/1ihh9j70KLAlHICEMooVlCQ 密码:cvq7
推荐阅读
- 支付宝支付之App支付
- Android开发中常见的设计模式——单例模式
- ARC-100C - Linear Approximation
- spring基础----事件(Applicaition Event)
- Appium-实现手势密码登陆
- 012_call和apply区别
- ApplicationListener接口的生命周期
- CS:APP CH01.A Tour of Computer Systems
- 04.基于IDEA+Spring+Maven搭建测试项目--配置application-context.xml