When trying to integrate the Facebook iOS SDK I encountered this error:
Terminating app due to uncaught exception 'com.facebook.sdk:InvalidOperationException', reason: 'FBSession: No AppID provided; either pass an AppID to init, or add a string valued key with the appropriate id named FacebookAppID to the bundle *.plist'`
However, I did put FacebookAppID
and a FB-specific URL scheme into Info.plist
:
<plist version="1.0">
<dict>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb35903424086XXXX</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>35903424086XXXX</string>
Can anyone help?