currently trying to upgrade react-native to 0.61.5 from 0.59.10 and faced this error:
ld: library not found for -lRCTBlob
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've tried pod install
, pod install --repo-update
, pod update
and that:
Clear the cache of pod with:
1.1
rm -rf ~/Library/Caches/CocoaPods
1.2
rm -rf Pods
1.3
rm -rf ~/Library/Developer/Xcode/DerivedData/*
1.4
pod deintegrate
1.5
pod setup
- And delete the project's Pods directory. The location of it is project directory > ios > Pods.
- Then in the project directory > ios location, install pod with
pod install
- And
react-native run-ios
in project directory.
Any help welcome!