LSApplicationQueriesSchemes 下的 Info.plist 中缺少 fbauth2,iOS 9.0 需要 fbauth2

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31986475/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 07:15:08  来源:igfitidea点击:

fbauth2 is missing from your Info.plist under LSApplicationQueriesSchemes and is required for iOS 9.0

iosfacebook

提问by jaskiratjd

I am getting the log while login with Facebook. Kindly tell me how can i remove this log. I am working on ios8

我在使用 Facebook 登录时收到日志。请告诉我如何删除此日志。我在 ios8 上工作

回答by Kelvin Lau

In your info.plist, add a row with the key LSApplicationQueriesSchemes. Make sure it is of arraytype. For it's only element, add the string fbauth2.

在您的 中info.plist,使用键添加一行LSApplicationQueriesSchemes。确保它是array类型的。对于它的唯一元素,添加字符串fbauth2

enter image description here

在此处输入图片说明

Voila

回答by Phani Sai

just follow thislink.

只需点击链接。

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>fbapi</string>
    <string>fbapi20130214</string>
    <string>fbapi20130410</string>
    <string>fbapi20130702</string>
    <string>fbapi20131010</string>
    <string>fbapi20131219</string>    
    <string>fbapi20140410</string>
    <string>fbapi20140116</string>
    <string>fbapi20150313</string>
    <string>fbapi20150629</string>
    <string>fbauth</string>
    <string>fbauth2</string>
    <string>fb-messenger-api20140430</string>
</array>

回答by Ankit Kumar

There is a new key, LSApplicationQueriesSchemes, and here you will need to add the list of schemes you want to are canOpenURL on.

有一个新键 LSApplicationQueriesSchemes,您需要在此处添加您希望在 canOpenURL 上使用的方案列表。

enter image description here

在此处输入图片说明

回答by Natividad Lara Diaz

If you're using v4.6.0 or higher of the SDK, you only need to add into your Info.plist:

如果您使用的是 v4.6.0 或更高版本的 SDK,您只需要添加到您的 Info.plist 中:

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>fbapi</string>
  <string>fb-messenger-api</string>
  <string>fbauth2</string>
  <string>fbshareextension</string>
</array>