1

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.

Pavel Raul
  • 11
  • 2

2 Answers2

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

aysberna
  • 58
  • 8
0

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.

ThinkAndCode
  • 1,319
  • 3
  • 29
  • 60