我已将正确的 Facebook sdk 值添加到 info.plist 中,如快速入门指南所示,并使用包管理器添加 SDK,但我仍然收到此错误
Thread 1: App ID not found. Add a string value with your app ID for the key FacebookAppID to the Info.plist or call [FBSDKSettings setAppID:]。
应用程序 ID 100% 正确,位于我的 info.plist 中。如果我在应用程序委托中设置名称和应用程序 ID,我只会收到此错误:
Thread 1: fbappid is not registered as a URL scheme. Please add it in your Info.plist
Facebook SDK 似乎在我的 info.plist 中找不到任何值?
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb823445029398455</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>823445029398455</string>
<key>FacebookDisplayName</key>
<string>vertoo-dev</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fbapi20130214</string>
<string>fbapi20130410</string>
<string>fbapi20130702</string> …Run Code Online (Sandbox Code Playgroud)