lottie-react-native: Error in Latest versions (3.1.8)
Description
[!] CocoaPods could not find compatible versions for pod “lottie-ios”:
In snapshot (Podfile.lock):
lottie-ios (from ../node_modules/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)
##[error]The process ‘/usr/local/lib/ruby/gems/2.7.0/bin/pod’ failed with exit code 1 ##[error]The ‘pod’ command failed with error: The process ‘/usr/local/lib/ruby/gems/2.7.0/bin/pod’ failed with exit code 1 ##[section]Finishing: Pod install ##[section]Starting: Xcode build (signed)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (4 by maintainers)
That’s what worked for me.
Try this: npm install lottie-react-native@4.0.3 npm install lottie-ios@3.2.3
also this works:
it was fixed after macbook restart.
Same issue. Restart not help
Try installing lottie-react-native 4.0.3, lottie-ios 3.2.3, remove Podfile folder and Podfile lock, and run pod install once again
@artdevgame it is the next priority, yes. Actually, if you need it right now you can try just updating the dependency manually on a fork. I tried it myself and seems to be working (almost) out of the box but I would like to settle version 4.0.2 before preparing another minor update.
getting the same error. need help 😦
@emilioicai I still have this issue with the latest lottie for RN (4.0.2) and lottie-ios 3.2.0. Are you able to update the peer dependency?
@emilioicai unfortunately that did not work, getting this error still:
I’m on: “lottie-ios”: “3.2.3”, “lottie-react-native”: “4.1.3”, “react-native”: “0.64.1”,
any news? nothing works
@emilioicai I apologise, it would be because of my mistake. I attempted to update lottie-ios to 3.2.0 after updating lottie-react-native, before reading the readme that states we should install 3.1.8.