lottie-react-native
lottie-react-native copied to clipboard
iOS no build RN 0.60 with new pod file
Description
I wanted to add a lottie animation to my app. but my iOS project didn't build anymore. what I have done :
-
npm i --save lottie-react-native npm i --save [email protected]
-
go to ./ios create a pod file (with pod init) and add these :
target 'EvoText' do use_frameworks! pod 'lottie-ios', :path => '../node_modules/lottie-ios' pod 'lottie-react-native', :path => '../node_modules/lottie-react-native' end
-
pod install
-
open workspace file project
and finaly I got this:
<module-includes>:1:9: note: in file included from <module-includes>:1: #import "Headers/lottie-react-native-umbrella.h" ^ /Users/yelkamel/Technique/Evolum/ios/Pods/Target Support Files/lottie-react-native/lottie-react-native-umbrella.h:13:9: note: in file included from /Users/yelkamel/Technique/Evolum/ios/Pods/Target Support Files/lottie-react-native/lottie-react-native-umbrella.h:13: #import "Bridging.h" ^ /Users/yelkamel/Technique/Evolum/node_modules/lottie-react-native/src/ios/LottieReactNative/Bridging.h:1:9: error: 'React/RCTViewManager.h' file not found #import <React/RCTViewManager.h> ^ <unknown>:0: error: could not build Objective-C module 'lottie_react_native'
Versions
"react": "16.8.6",
"react-native": "0.60.3",
"lottie-ios": "3.0.3",
"lottie-react-native": "^3.1.0",
I managed to build but the lottie is not shown. almost the same config as you except I am using RN 60.5. Have you solved this issue?
did you find the solution?
I have same problem in other library after ugrade
pls anyone know this answer I have the same problem
same here !
anyone found a solution to this?
Same issue !
I can't see Lottie in iOS side.
Same problem
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Any updates here?
I am also facing same issue.