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
Go in Xcode > Targets > Your App > Build Phases > Link Binary With Library.
Select libBranch-SDK.a then click on the -(minus sign) at the bottom of the list.