[英]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:您有:
pod repo update
or with pod install --repo-update
.pod repo update
或使用pod install --repo-update
过时的源存储库。 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.