It says \"FacebookSDK/FacebookSDK.h file not found\"
Yet I can jump-to-definition on the #import and it takes me to the file.
And once I added the #import i
None of all answers above worked for me.
What finally did the trick for me was to change the structure of the plugin folder:
Create folder: com.phonegap.plugins.facebookconnect/FacebookSDK
Copy all content from:
com.phonegap.plugins.facebookconnect/FacebookSDK.framework/Headers
to com.phonegap.plugins.facebookconnect/FacebookSDK
Copy com.phonegap.plugins.facebookconnect/Facebook.framework
to com.phonegap.plugins.facebookconnect/FacebookSDK
And finally, change
#import
to
#import "FacebookSDK/FacebookSDK.h"