Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

React-Native error ld: library not found for -lBVLinearGradient

$
0
0

Installed 'react-native-lienar-gradient' library in my new react-native project.

Added pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient' in Podfile

Performed pod install in ios directory

Xcode build gives the following error:

ld: warning: directory not found for option '-L-L/Users/pavneet/Library/Developer/Xcode/DerivedData/Krowym-fttolxdorzfwjbcgjwmxijsnufkv/Build/Products/Debug-iphonesimulator/BVLinearGradient'ld: library not found for -lBVLinearGradientclang: error: linker command failed with exit code 1 (use -v to see invocation)

Error in Xcode

Tried deleting Podfile.lock, cleaning xcode build, manually linking library by react-native link command, deleting Derived data folder

Also tried by adding libBVLinearGradient.a on Build Phases -> Link Binary With Libraries

Environment

react-native:0.63.2

react-native-linear-gradient:2.5.6


Viewing all articles
Browse latest Browse all 16750

Trending Articles