Lottie-react-native: [iOS] Cycle in dependencies between targets 'DoubleConversion' and 'FBLazyVector'; building could produce unreliable results.

Created on 22 Mar 2020  路  3Comments  路  Source: lottie-react-native/lottie-react-native

Description

An error occurred while running react-native run-ios.

Steps to Reproduce

  1. installing lttie-react-native following the instruction [RN => 0.60]
  2. run react-native run-ios

Expected behavior: Run command successful

Actual behavior: An error occurred and I have to clear build-cache every time on Xcode to run successfully on next time.

Versions

Xcode: 11.0 (11A420a)
MacOS: 10.14.6

I'm using yarn.

"react-native": "^0.61.5",
"lottie-ios": "3.1.3",
"lottie-react-native": "^3.3.2",

Most helpful comment

Product -> 'Clean Build Folder' (cmd + Shift + K) in XCode and rebuilding worked for me.

Removing the Pods + Podfile.lock and pod install works as well, but is a bigger effort.

All 3 comments

try it
close xCode
rm -rf ~/library/developer/xcode/deriveddata
rm -rf ~/.rncache
rm -rf node_modules && npm install && cd ios && rm -rf Pods && pod install && cd ..

Product -> 'Clean Build Folder' (cmd + Shift + K) in XCode and rebuilding worked for me.

Removing the Pods + Podfile.lock and pod install works as well, but is a bigger effort.

I tried both solutions, still having the same error while building from the command line. Xcode can still build and run the project.

Was this page helpful?
0 / 5 - 0 ratings