我正在尝试使用 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.
请通过以下方式检查最低部署目标:"豆荚规格猫 FBSDKCoreKit |grep -A 2 平台",然后添加最小部署目标。