I am upgrading the react native version from 0.63.0 to 0.64.0 but I get this error when compiling? Do you know how to solve it?
fatal error: module map file '/Users/iteme/Library/Developer/Xcode/DerivedData/apparta-bdsropvgtdqyxfbzxyuwoltrneow/Build/Products/Debug-iphonesimulator/lottie-react-native/lottie_react_native.modulemap' not found
enter image description here
this is enviroment: "lottie-ios": "^3.1.8", "lottie-react-native": "^4.0.2", cocapods: 1.11.2
tried this but it did not work:
1-. rm -rf ~/Library/Developer/Xcode/DerivedData 2-. elimina Podfile.lock 3-. pod install
and
and
npm uninstall lottie-ios npm install [email protected] cd ios pod install
If you are using a Mac with the Silicon chip and met this error with the iOS simulators, try to add arm64 to Excluded Architectures in Build Settings for both the app project and pod project, this works for me.

Please try this solution. to would fix your problem. this issue is due to the static library. Here are some answers from stackoverflow and GitHub issues.
Hope this will solve your issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With