gpt4 book ai didi

xcode - "pod install"期间的 cocoapods 0.37.2 错误

转载 作者:行者123 更新时间:2023-12-04 21:56:44 26 4
gpt4 key购买 nike

我正在尝试 sinch sdk。我想和它一起使用 cocoapods。我继续将 podfile 添加到我的原始项目所在的目录中。当我运行“pod install”时,出现以下错误。

MIGUELs-MacBook-Pro:messaging miguel$ pod install
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.37.2/lib/cocoapods-core/standard_error.rb:88:in `message': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:367:in `handle_exception'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:315:in `rescue in run'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:303:in `run'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.37.2/lib/cocoapods/command.rb:46:in `run'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.37.2/bin/pod:44:in `<top (required)>'
from /usr/bin/pod:23:in `load'
from /usr/bin/pod:23:in `<main>'

如果我尝试执行“pod update”,也会发生同样的情况

我可能做错了什么?

任何帮助或指示将不胜感激

最佳答案

好的,所以我分析了我的“podfile 并注意到 (') 是错误的。如果有人遇到这个问题,请确保通过按(控制和“)在每个库的前后添加正确的。

希望它可以帮助任何人

关于xcode - "pod install"期间的 cocoapods 0.37.2 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30552222/

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