title: PhoneGap 2.1 and Facebook SDK 3.1 on iOS - com.facebook.sdk Error 2 on device
body: <p>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 <a href="https://github.com/davejohnson/phonegap-plugin-facebook-connect/tree/pg2.1-ios3.1" rel="noreferrer">here</a>.</p>
  
  <p>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"</p>
  
  <p>It seems to be a problem with the BundleID of my app not matching the one on the Facebook app.
  I checked that <strong>BundleIdentifier</strong> and <strong>BundleURLName</strong> in my info.plist file match the Bundle ID under Native iOS app in the settings of my Facebook app.</p>
  
  <p>If someone could help me understand what's wrong...
  Thanks a lot.</p>