iOS   发布时间:2022-05-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了xcode – “pod install”期间cocoapods 0.37.2错误大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我正在尝试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/cocoapod
我正在尝试sinch sdk.我想用它来使用 cocoapods.我继续将podfile添加到我原始项目所在的目录中.当我运行“pod install”时,我收到以下错误.

@H_917_21@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错误全部内容,希望文章能够帮你解决xcode – “pod install”期间cocoapods 0.37.2错误所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。