After upgrade xcode to 10.1 the project's compile fails with :
ld: warning: directory not found for option '-L/Users/divanov/Desktop/<projectName> AppTests'
Undefined symbols for architecture arm64:
"_RCTSetLogFunction", referenced from:
-[AppTests testRendersWelcomeScreen] in AppTests.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The following work around worked for me:
*** In another project I got the same error but in that case the libraries were missing in "Settings of the failing Target"/"Build Phases"/"Link Binary With", so I had to add them manually!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With