xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
来源:互联网 发布:百雀羚vs欧莱雅 知乎 编辑:程序博客网 时间:2024/05/14 13:05
Xcode脚本自动化打包问题: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少了这个PackageApplication(转注:PackageApplication在前几个版本已被标识为废弃,在8.3版本彻底移除了)
先去找个旧版的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
2句分开执行
最后附上PackageApplication下载地址:
https://pan.baidu.com/s/1jHJF2Lo
阅读全文
0 0
- 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
- 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
- xcode9打包报错:xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PAT
- xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
- xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
- xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
- xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
- Terminal错误: unable to find utility "PackageApplication", not a developer tool or in PATH
- IOS-React-Native:unable to find utility "instruments", not a developer tool or in PATH
- codesign_allocate: error: unable to find utility "codesign_allocate", not a developer tool or in PAT
- xcrun: error: active developer path ("..") does not exist, use `xcode-select --switch path/to/Xcode.
- xcrun: error: active developer path
- Required content for platform tvOS Simulator is missing. unable to find utility "git", not a develop
- xcode 报错xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer/") does not
- xcrun: error: active developer path ("/Users/apple/Desktop/Xcode5.app/Contents/Developer") does not
- Pod 出错 xcrun: error: active developer path
- C/C++字符或字符串的输入
- java 动态代理 生成字节码文件
- java中的转义字符
- zcmu1507
- cf 729D Sea Battle 【模拟,贪心】
- xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
- 关于转移博客的通知
- Blender脚本编程
- Codeforces 794 F Leha and security system(线段树+构造)
- 算法提高 ADV-18 实数相加
- JAVA新手上路之遇见线程
- P1101 单词方阵
- java中重载和重写的区别
- CSS基础知识