pod FBSDKCoreKit的react-native-fbsdk问题

时间:2019-07-15 16:25:43

标签: ios react-native pod react-native-fbsdk podfile

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

我使用“ 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.

1 个答案:

答案 0 :(得分:0)

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