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 -lBVLinearGradient clang: error: linker command failed with exit code 1 (use -v to see invocation)
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