Lucky_girl
Lucky_girl

Reputation: 4863

Library not found for LottieReactNative

I have such error in Xcode in react native project, lottie-react-native is installed in the project and linked, however, Xcode still doesn't see this library. Any ideas how is possible to solve that issue?

enter image description here

lottie-react-native is already linked:

enter image description here

Upvotes: 1

Views: 582

Answers (1)

Hisham Mubarak
Hisham Mubarak

Reputation: 1609

It seem's to me like you have not linked your package with your project. After installing NPM packages or any packages that requires native integration, you need to integrate them before you can start using it.

Below linked documentation will help you on easy command line linking.
http://airbnb.io/lottie/react-native/react-native.html#ios
http://airbnb.io/lottie/react-native/react-native.html#android

If command line linking doesn't work, or if app shows linking error even after entering the command line link, you can see the manual linking process in the linked documentation and cross check it with your project files.
http://airbnb.io/lottie/react-native/react-native.html

Upvotes: 1

Related Questions