Lottie-react-native: Cannot build on React Native 0.61.5

Created on 20 Dec 2019  路  3Comments  路  Source: lottie-react-native/lottie-react-native

Hi guys, I'm new to Lottie and have followed the instructions on the front page to install.
I'm using Mac to run the following commands,

npx react-native init Delta 
cd Delta
yarn add lottie-react-native
yarn add [email protected]
cd ios
pod install
cd ../
npx react-native run-ios

and ran into the following error

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening Delta.xcworkspace. Run CLI with --verbose

When I tried to build again in XCode (v11.3), the following error pops,
Please help. Thanks.

image

All 3 comments

may related failed linking,
try this

Tried the solutions from the link and the 3rd one (creating an empty swift file and Bridging Header) worked like a charm!
https://stackoverflow.com/a/56176956
Thanks 馃槃

Tried the solutions from the link and the 3rd one (creating an empty swift file and Bridging Header) worked like a charm!
https://stackoverflow.com/a/56176956
Thanks 馃槃
As you said "worked like a charm!"

Was this page helpful?
0 / 5 - 0 ratings