0

I am trying to build an archive for RN project, and I am facing this error:

ld: warning: directory not found for option '-L-L/Users/MY_USER_NAME/Library/Developer/Xcode/DerivedData/PROJECT_NAME-citzzdlmmmmsakbpzutdbpcewagt/Build/Intermediates.noindex/ArchiveIntermediates/PROJECT_NAME/BuildProductsPath/Release-iphoneos/Braintree'
ld: library not found for -lBraintree
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have tried different things to fix this problem for example deleting the podfile & podfilelock then generate them again

and I followed all the answers here , but unfortunately it didn't work for me.

any clue what's the problem? or maybe solution?

Mohamed Ahmed
  • 259
  • 3
  • 17
  • I'm looking for a solution as well. I got this error after upgrading RN from 0.63.0 to 0.64.1. I followed RN upgrade helper and well, here I am... ¯\_(ツ)_/¯ If I find an answer, I'll post it. – Mike S. Oct 05 '21 at 20:36
  • For me I deleted Xcode and install again and it worked – Mohamed Ahmed Oct 09 '21 at 04:44

0 Answers0