I have been trying to deal with a lot of problems since I upgraded the react-native version of my app. One of those was this that came out of nowhere!
ld: warning: directory not found for option '-F~/Documents/FacebookSDK'
Followed by these (which caused extra confusion)
ld: library not found for -lRCTWebSocket clang: error: linker command failed with exit code 1 (use -v to see invocation)
How can I solve this?