I need to port a Phonegap App from 2.3 to 3.5 .
I created a new clean project using Phonegap 3.5 . Added iOS platform and added the plugins. I added the Phonegap Facebook Plugin as indicated in the Plugin Page :
cordova -d plugin add /Users/your/path/here/phonegap-facebook-plugin --variable APP_ID="123456789" --variable APP_NAME="myApplication"
The plugin added itself ok, or at least that's what it seems. When I opened the project in XCode, it doesn't build, it reports a Lexical or Preprocessor error that it cannot find file FacebookSDK/FacebookSDK.h .
Any help will be appreciated. Thanks.
EDIT:
I made the error go away but I am not sure if what I did is correct.
Under Frameworks, all frameworks have Headers folder with the .h files. In the case of the FacebookSDK.framework, Headers was a file with a path to a folder ./Versions/A/Headers . I manually copied the content of Versions/A folder under the FacebookSDK.framework folder. Now it finds the FacebookSDK.h file.