[Solved] react native xcode library not found for -lBranch-SDK
I have react native v0.49.
After installing react-native-branch with this link
link to react-native-branch, I try to run with xcode and I get the error
ld: library not found for -lBranch-SDK
in addition,when I run react-native-link I get
react-native-branch ERR! Failed to add file to project
Go in Xcode > Targets > Your App > Build Phases > Link Binary With Library.
libBranch-SDK.a then click on the – (minus sign) at the bottom of the list.