skip to Main Content

After updating react-native from version 0.63.2 to 0.66.1, i get the following error in Xcode when i try to build my app.

library not found for -lFolly

I’ve tried running pod install and cleaning the build folder.
My Library Search Paths look like this for both release and debug.

2

Answers


  1. Delete libFolly.a file from Xcode>Targets>General and clean DerivedData, run again. Maybe you can face with other problems but if you don’t use folly file in your pods it will work. I hope it works for you too.

    enter image description here

    Login or Signup to reply.
  2. I have been struggling with this issue. Finally this solution resolved the issue.

    I had the two copies of files in the codebase. Deleting one copy helped code to build successfully

    Source: https://stackoverflow.com/a/53417764/8364900

    <project name>/ios/<project name>.xcworkspace/contents.xcworkspacedata
    

    The above location may have reference to multiple copies of your project. If so delete one copy then run the project.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search