gpt4 book ai didi

ios - pod 安装 [!] 错误 : Parsing unable to continue due to parsing error:

转载 作者:行者123 更新时间:2023-12-01 17:28:54 25 4
gpt4 key购买 nike

当尝试安装 pod 时显示此错误:

pod install  
[!] ERROR: Parsing unable to continue due to parsing error:
contained in the file located at
/Users/rezakhalafi/.cocoapods/repos/master/CocoaPods-version.yml

\---
min: 1.0.0
last: 1.2.0.beta.3
prefix_lengths:
- 1
- 1
- 1

如何解决这个问题?

最佳答案

首先我删除了cocoapods:

gem list --local | grep cocoapods  
gem uninstall cocoapods
gem uninstall cocoapods-core
gem uninstall cocoapods-downloader

并卸载Gem:

gem uninstall -aIx 

然后再次使用此代码安装 Pod:

sudo gem install -n /usr/local/bin cocoapods 

转到项目位置并pod install

这对我有用。

关于ios - pod 安装 [!] 错误 : Parsing unable to continue due to parsing error:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41635437/

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