5

I'm 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:

  1. 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 2. And delete the project's Pods directory. The location of it is project directory > ios > Pods. 3. Then in the project directory > ios location, install pod with pod install 4. And react-native run-ios in project directory.

starball
59.9k53 gold badges323 silver badges1k bronze badges
asked Dec 17, 2019 at 13:50
3
  • Could you post your package.json and pod file here. I think it will be more helpful for others to help to you. Commented Dec 18, 2019 at 2:32
  • have you found the solution to it? as per my project issues, i found that its the issue with all the libRCT files. none of them are found. Commented Mar 18, 2020 at 2:15
  • Does this answer your question? ld: library not found for -lRCTBlob clang: error: linker command failed Commented Apr 4, 2020 at 5:01

1 Answer 1

0

Solution moved from @alex's question post.

In your XCode you need to found Build phases link, then Link Binary With Libraries select lRCTBlob and click -(minus) in the end of list

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.