gpt4 book ai didi

ios - 在Pod安装/更新时无法解析Podfile.lock错误

转载 作者:行者123 更新时间:2023-12-01 19:47:55 45 4
gpt4 key购买 nike

无法更新/安装Pod。
错误是“无法解析Podfile.lock文件”。
最后安装的pod是:pod'googleapis',:path =>'。
之后,问题开始出现。

错误日志

[!] ERROR: Parsing unable to continue due to parsing error:
contained in the file located at /Users/ios/Documents/Projects/DemoProject4/Podfile.lock
PODS:

!ProtoCompiler (3.0.2):
Protobuf (~> 3.0)
!ProtoCompiler-gRPCPlugin (1.0.2):
!ProtoCompiler (= 3.0.2)
gRPC-ProtoRPC (= 1.0.2)
Alamofire (4.5.1)
BoringSSL (7.0):
BoringSSL/Implementation (= 7.0)
BoringSSL/Interface (= 7.0)
BoringSSL/Implementation (7.0):
BoringSSL/Interface (= 7.0)
BoringSSL/Interface (7.0)
googleapis (0.0.1):
!ProtoCompiler-gRPCPlugin (~> 1.0.0-pre1.1)
googleapis/Messages (= 0.0.1)
googleapis/Services (= 0.0.1)
googleapis/Messages (0.0.1):
!ProtoCompiler-gRPCPlugin (~> 1.0.0-pre1.1)
Protobuf
googleapis/Services (0.0.1):
!ProtoCompiler-gRPCPlugin (~> 1.0.0-pre1.1)
googleapis/Messages
gRPC-ProtoRPC
gRPC (1.0.2):
gRPC-Core (= 1.0.2)
gRPC-RxLibrary (= 1.0.2)
gRPC-Core (1.0.2):
gRPC-Core/Implementation (= 1.0.2)
gRPC-Core/Interface (= 1.0.2)
gRPC-Core/Implementation (1.0.2):
BoringSSL (~> 7.0)
gRPC-Core/Interface (= 1.0.2)
gRPC-Core/Interface (1.0.2)
gRPC-ProtoRPC (1.0.2):
gRPC (= 1.0.2)
gRPC-RxLibrary (= 1.0.2)
Protobuf (~> 3.0)
gRPC-RxLibrary (1.0.2)
Protobuf (3.5.0)
DEPENDENCIES:

Alamofire
googleapis (from .)
EXTERNAL SOURCES:
googleapis:
:path: .

SPEC CHECKSUMS:
!ProtoCompiler: cfad9cbe5299a4923b1c3c8f150818c91efd0b6d
!ProtoCompiler-gRPCPlugin: ee00d28bb35b26e2657f239833b8f2aa66724f96
Alamofire: 2d95912bf4c34f164fdfc335872e8c312acaea4a
BoringSSL: 50035b9d9eeff5529587311782fc57c00ebf13ae
googleapis: daa20dca7a0097c6c3316fdfd888e0ba1b7c8921
gRPC: dd3a91e0fb770b9fc4f43d1292fb19f2a2e04158
gRPC-Core: cc4a7613190ff0bc60a0c1e702ef07cd3f868ae6
gRPC-ProtoRPC: 11533510522a5e9627883a597a796cfe6bef05f3
gRPC-RxLibrary: 02cc70b76bc0c5bc622ba27595cca2598d9fe528
Protobuf: 8a9838fba8dae3389230e1b7f8c104aa32389c03

PODFILE CHECKSUM: bba8f9c22e10518c7ea6f79ab0fb8177c097b5f5

COCOAPODS: 1.4.0.beta.2

如何解决错误。即使必须删除googleapis pod,我也会这样做。但是将其从podfile中删除并单击pod-install命令不起作用,因为pod-intsall / pod-update命令始终会产生此错误。

My Demo Project downloadable link

最佳答案

这是CocoaPods issue,已在1.4.0中修复。

解决方法是在pod installpod update之前删除Podfile.lock。

关于ios - 在Pod安装/更新时无法解析Podfile.lock错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47546105/

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