gpt4 book ai didi

cocoa - Pod 设置失败

转载 作者:行者123 更新时间:2023-12-03 17:46:31 24 4
gpt4 key购买 nike

使用brew安装cocoapods并运行pod setup后,它会出现以下消息:

Setting up CocoaPods master repo
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/yaml.rb:5:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
Assertion failed: (0 && "LoadedImage not found"), function findLoadedImage, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/libdyld/dyld-655.1/dyld3/ClosureBuilder.cpp, line 469.
Abort trap: 6

最佳答案

这很可能是您的 ruby​​ 配置的问题。我使用 RVM 管理我的 ruby​​ 安装并运行 rvm get stable --auto-dotfiles 修复了该问题。

关于cocoa - Pod 设置失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56049575/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com