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)

上一篇:unity 基础之InputManager


下一篇:迅速上手:使用taro构建微信小程序基础教程