lottie-react-native icon indicating copy to clipboard operation
lottie-react-native copied to clipboard

iOS no build RN 0.60 with new pod file

Open yelkamel opened this issue 5 years ago • 9 comments

Description

I wanted to add a lottie animation to my app. but my iOS project didn't build anymore. what I have done :

  1. npm i --save lottie-react-native npm i --save [email protected]

  2. 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

  3. pod install

  4. 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",

yelkamel avatar Aug 13 '19 13:08 yelkamel

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?

Aung-Myint-Thein avatar Sep 04 '19 07:09 Aung-Myint-Thein

did you find the solution?

fikasa avatar Oct 23 '19 08:10 fikasa

I have same problem in other library after ugrade

Natkarock avatar Oct 30 '19 10:10 Natkarock

pls anyone know this answer I have the same problem

sabeelmuttil avatar Nov 12 '19 15:11 sabeelmuttil

same here !

anasalsaadi14 avatar Dec 26 '19 18:12 anasalsaadi14

anyone found a solution to this?

pulkitsharmac24 avatar Jan 16 '20 12:01 pulkitsharmac24

Same issue !

ErtugrulBEKTIK avatar Mar 20 '20 10:03 ErtugrulBEKTIK

I can't see Lottie in iOS side.

luckypal avatar Aug 12 '20 00:08 luckypal

Same problem

celciusjj avatar Mar 16 '22 00:03 celciusjj

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.

stale[bot] avatar Aug 14 '22 06:08 stale[bot]

Any updates here?

roots-ai avatar Sep 26 '22 08:09 roots-ai

I am also facing same issue.

iranaahsanali avatar Nov 14 '22 09:11 iranaahsanali