React-native-fbsdk: Sample App: FBSDKShareKit.h file not found.

Created on 24 Aug 2015  路  4Comments  路  Source: facebook/react-native-fbsdk

I just cloned the repo. Did npm install. I get below error when i try to run the sample app.

Sample/node_modules/react-native-fbsdkshare/iOS/RCTFBSDKShareDialog.h:21:9: 'FBSDKShareKit/FBSDKShareKit.h' file not found

I can see shareKit framework being linked in the Sample app. Not sure what else i can do to debug this.

Most helpful comment

I download the fbsdk at some random location while xcode was looking for it in Documents/FacebookSDK directory

All 4 comments

Ohk. I think it's because i downloaded the framework at a wrong location. Let me test with Documents/FacebookSDK

Could you be more specific how you solved this? I have the same isue.

I download the fbsdk at some random location while xcode was looking for it in Documents/FacebookSDK directory

Happened to me too. I had to update the "Framework Search Paths" setting under Build Settings for RCTFBSDKShare (not for my base project).

Was this page helpful?
0 / 5 - 0 ratings