I have just updated my PhoneGap iOS app to the latest version 2.1. Since it uses Facebook login I also updated the Facebook Connect Plugin as showed here.
The Facebook login runs smoothly on the emulator (using both iOS 5.1 and 6.0) but I got an error on the device (using iOS 6) "The operation couldn't be completed com.facebook.sdk Error 2"
It seems to be a problem with the BundleID of my app not matching the one on the Facebook app. I checked that BundleIdentifier and BundleURLName in my info.plist file match the Bundle ID under Native iOS app in the settings of my Facebook app.
If someone could help me understand what's wrong... Thanks a lot.