Sus*_*rma 3 ios cocoapods react-native
在我的react-native项目中,我有“boost-for-react-native”的依赖并像这样安装它:
pod 'boost-for-react-native', :podspec => 'https://raw.githubusercontent.com/react-native-community/boost-for-react-native/master/boost-for-react-native.podspec'
Run Code Online (Sandbox Code Playgroud)
最近工作得很好。我不确定发生了什么变化,但我现在无法安装 Pod。当我运行 pod install 时出现此错误
[!] CocoaPods could not find compatible versions for pod "boost-for-react-native":
In Podfile:
Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`) was resolved to 2018.10.22.00, which depends on
boost-for-react-native
React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) was resolved to 0.61.5, which depends on
boost-for-react-native (= 1.63.0)
boost-for-react-native (from `https://raw.githubusercontent.com/react-native-community/boost-for-react-native/master/boost-for-react-native.podspec`)
Run Code Online (Sandbox Code Playgroud)
我尝试过删除node_modules、删除podfile.lock、分解pod。我还尝试将 podfile 和应用程序目标中的部署版本升级到 11.0。但我仍然收到上述错误。
我将非常感谢对此的任何帮助。谢谢
小智 6
这可能是由于 Pod 缓存造成的。
尝试这个:
rm -rf ~/Library/Caches/CocoaPodsPods文件夹和Podfile.lock通常位于
<project_root>/ios.pod update| 归档时间: |
|
| 查看次数: |
10966 次 |
| 最近记录: |