我无法为lottie-react安装react本机CocoaPods无法找到与pod "lottie-ios“兼容的版本。
发布于 2021-02-07 07:39:22
按照错误的说法,我们需要
npm - ios @3.1.8 lottie-react本机@3.5.0 cd ios Pod安装
问题解决
发布于 2021-11-20 14:47:41
如果你得到这样的东西,
[!] CocoaPods could not find compatible versions for pod "lottie-ios":
In Podfile:
lottie-ios (from `../node_modules/lottie-ios`)
lottie-react-native (from `../node_modules/lottie-react-native`) was resolved to 3.5.0, which depends on
lottie-ios (~> 3.1.8)
然后我们可以通过以下步骤来解决这个问题,
lottie-ios
和lottie-react-native
包。npm安装lottie-ios@3.1.8 npm安装lottie-react-native@3.5.0
这些包添加后的
安装
发布于 2022-02-13 20:28:43
通过卸载以前安装的Lottie版本,然后
1- yarn add lottie-react-native@4.0.3
2- yarn add lottie-ios@3.2.3
https://stackoverflow.com/questions/66085585
复制相似问题