ios - React-native-fbsdk 与 pod FBSDKCoreKit 相关的问题

标签 ios react-native cocoapods react-native-fbsdk

我正在尝试使用 podfile 安装新版本的 react-native-fbsdk,而不是链接不起作用的库,但在执行 pod install 时收到此错误消息。

我使用 "react-native": "^0.59.5"并尝试使 "react-native-fbsdk": "^0.10.0"有效。

Fetching podspec for `react-native-fbsdk` from `../node_modules/react-native-fbsdk`
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
  In Podfile:
    FBSDKCoreKit

    react-native-fbsdk (from `../node_modules/react-native-fbsdk`) was resolved to 0.10.0, which depends on
      react-native-fbsdk/Core (= 0.10.0) was resolved to 0.10.0, which depends on
        FBSDKCoreKit (~> 5.0.0)

Specs satisfying the `FBSDKCoreKit, FBSDKCoreKit (~> 5.0.0)` dependency were found, but they required a higher minimum deployment target.

最佳答案

请通过以下方式检查最低部署目标: “pod spec cat FBSDKCoreKit | grep -A 2 platform”然后添加最小部署目标。

关于ios - React-native-fbsdk 与 pod FBSDKCoreKit 相关的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57043791/

相关文章:

iphone - iOS sqlite 插入问题

ios - 无需应用程序加载程序即可将React Native应用程序上传到App Store

ios - 无法使用 Share Extension 和 AFNetworking Cocoapod 存档构建

ios - 无法从其模块接口(interface)构建模块 'Razorpay'

ios - 安装 Google-Mobile-Ads-SDK 时出错

ios - 忽略 map 查看 :didSelectAnnotationView when long press is occuring

ios - iTMS 转运器 : How to submit an uploaded in-App purchase for Apple review without iTunes Connect

javascript - 如何将 JSON 从 Web 服务发送到 iOS 项目中的 javascript?

javascript - 无法启动模拟器。原因: No emulators found as an output of `emulator -list-avds` .,安装应用程序失败

ios - 在 ios 中将 cocoapods 与 React Native (0.43.4) 一起使用的正确方法是什么?