简体   繁体   English

CocoaPods 找不到 pod“Flipper-Glog”的兼容版本:在 Podfile 中:

[英]CocoaPods could not find compatible versions for pod "Flipper-Glog": In Podfile:

[:] CocoaPods could not find compatible versions for pod "Flipper-Glog": In Podfile. [:] CocoaPods 找不到 pod“Flipper-Glog”的兼容版本:在 Podfile 中。 Flipper-Glog (= 0.5.0.4) Flipper-Glog (= 0.5.0.4)

None of your spec sources contain a spec satisfying the dependency: Flipper-Glog (= 0.5.0.4) .您的规范源都不包含满足依赖项的规范: Flipper-Glog (= 0.5.0.4)

You have either:您有:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update .您可以使用pod repo update或使用pod install --repo-update过时的源存储库。
  • mistyped the name or version.输入错误的名称或版本。
  • not added the source repo that hosts the Podspec to your Podfile.未将托管 Podspec 的源代码库添加到您的 Podfile。

Disable everything related to flipper in Podfile and then cd ios && pod install禁用Podfile中与鳍状肢相关的所有内容,然后cd ios && pod install

# use_flipper!()

Worked after using this command:使用此命令后工作:

pod install --repo-update

If you are building from a fresh Reach Native Project, there should be no need to edit any files in the project to get it to run.如果您是从新的 Reach Native 项目构建的,则无需编辑项目中的任何文件即可使其运行。

Try the solutions here: React native ios - error when running pod install (installing Flipper-Glog)在此处尝试解决方案: React native ios - 运行 pod install 时出错(安装 Flipper-Glog)

I encountered this problem after deleting all my iOS caches and setting some Virtual Env.在删除所有 iOS 缓存并设置一些虚拟环境后,我遇到了这个问题。 Opening Xcode and simulator once then try "pod install" should work.打开 Xcode 和模拟器一次,然后尝试“pod install”应该可以工作。

Remove or comment this line from your ios/Podfile in react native.在 react native 中从您的 ios/Podfile 中删除或注释此行。

# use_flipper!()

For M1 chip Mac, run对于 M1 芯片 Mac,运行
"arch -x86_64 pod install"
solved it.解决了。

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

相关问题 CocoaPods 找不到 pod“GoogleSignIn”的兼容版本:在 Podfile:GoogleSignIn - CocoaPods could not find compatible versions for pod “GoogleSignIn”: In Podfile: GoogleSignIn CocoaPods 在 Podfile 中找不到 pod XXXX 的兼容版本 - CocoaPods could not find compatible versions for pod XXXX 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 找不到 pod“FBSDKCoreKit”的兼容版本 - CocoaPods could not find compatible versions for pod "FBSDKCoreKit" 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”:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM