fastlane问题汇总
问题1 : mac电脑 fastlane 打包app的时候 报错:
Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
应该是xcode插件相关导致的,最近升级了mac电脑的系统到monterey12.3.1系统。xcode升级到13.3版本。 估计是这里某个原因导致,百度出来资料比较少。找到个类似的资料网址:
参考资料网址:https://www.jianshu.com/p/d936b525b83f
2022-04-07 10:34:47.832 xcodebuild[32177:129763] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[10:34:47]: ▸ 2022-04-07 10:34:47.832 xcodebuild[32177:129763] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
参照这个网址,
1.去下载xcode13.1版本进行安装。
2.安装Command Line Tools
//安装了13.3版本,先卸载
$ rm -rf /Library/Developer/CommandLineTools
//安装
$ xcode-select --install
//查看路径. -- 这一步我这边倒是没用到,fastlane打包恢复正常了。
$ xcode-select -p
//路径不是/Applications/Xcode.app/Contents/Developer 执行下面切换路径方法
$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
问题2 :Fastlane iOS打包 的时候 报错 fastlane sh: xcpretty: command not found
重新打开个命令行 输入 sudo gem install -n /usr/local/bin xcpretty 等加载完就好了
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构