Closed alexkirsz closed 8 years ago
I then drag'n'dropped FBSDKCoreKit.framework into a new Frameworks group
Did you also add FBSDKLoginKit and FBSDKShareKit?
That did it! Thanks. I've added a note to the README in case other people run into the same issue.
Got the same problem. My step is:
1.rnpm install react-native-fbsdk 2.Download the latest FacebookSDK 3.Extract to my ios/FacebookSDK folder
4.Drag necessary frameworks to my project
5.Setup the Search Path for Frameworks
Then build. Got the following error message:
What could be wrong?
I know the issue now. It's because the path setting in this project is to ~/Document/FacebookSDK. Is there any elegant solution that hardcode the FacebookSDK path to ~/Document? Thanks.
I've set it to $(HOME)/Documents/FacebookSDK
.
Following the latest installation instructions on a clean react-native project, I'm getting a
BUILD FAILED
when I runreact-native run-ios
.What I did:
I then drag'n'dropped
FBSDKCoreKit.framework
into a newFrameworks
group, added its folder path toFramework Search Paths
, and finally editedios/fbsdktest/Info.plist
andios/fbsdktest/AppDelegate.m
as per the instructions over at Getting Started.Here's a repo showcasing this issue.
(Strangely, on this repo, it also complains about
CFBundleIdentifier
not existing but I don't know if that's related toreact-native-fbsdk
)Note that it looks for the
FacebookSDK
folder at$HOME/Documents/FacebookSDK
.And here's the full output of
react-native run-ios
: