简体   繁体   English

CocoaPods 找不到 pod“GoogleSignIn”的兼容版本:在 Podfile:GoogleSignIn

[英]CocoaPods could not find compatible versions for pod “GoogleSignIn”: In Podfile: GoogleSignIn

How to solve this error?如何解决这个错误?

My Podfile looks like this:我的 Podfile 看起来像这样:

  pod 'Firebase/Core'
  pod 'Firebase/Auth'
  pod 'GoogleSignIn'
end

First step, you could check if the pod repo needs an update.第一步,您可以检查 pod 存储库是否需要更新。 Use the below command to update:使用以下命令进行更新:

pod repo update

Post that, try deleting "Podfile.lock" file and "Pods" folder inside your project directory.发布后,尝试删除项目目录中的“Podfile.lock”文件和“Pods”文件夹。 And then run the below commands in sequence:然后依次运行以下命令:

pod deintegrate
 
pod install
 
pod update

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CocoaPods 在 Podfile 中找不到 pod XXXX 的兼容版本 - CocoaPods could not find compatible versions for pod XXXX in Podfile CocoaPods 找不到 pod“Flipper-Glog”的兼容版本:在 Podfile 中: - CocoaPods could not find compatible versions for pod "Flipper-Glog": In Podfile: CocoaPods 找不到 pod“firebase_auth”的兼容版本:在 Podfile 中 - CocoaPods could not find compatible versions for pod "firebase_auth": In Podfile CocoaPods 在快照 (Podfile.lock) 中找不到 pod FirebaseCore 的兼容版本: - CocoaPods could not find compatible versions for pod FirebaseCore In snapshot (Podfile.lock): CocoaPods 找不到 pod "Flutter" 的兼容版本:在 Podfile: Flutter (from `Flutter`) - CocoaPods could not find compatible versions for pod "Flutter": In Podfile: Flutter (from `Flutter`) CocoaPods找不到“ Moya”吊舱的兼容版本 - CocoaPods could not find compatible versions for pod “Moya” CocoaPods 找不到 pod“Protobuf”的兼容版本 - CocoaPods could not find compatible versions for pod "Protobuf" CocoaPods 找不到 pod“UMCore”的兼容版本 - CocoaPods could not find compatible versions for pod “UMCore” CocoaPods 找不到 pod “AFNetworking” 的兼容版本: - CocoaPods could not find compatible versions for pod “AFNetworking”: CocoaPods 找不到 pod“电容器”的兼容版本 - CocoaPods could not find compatible versions for pod "Capacitor"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM