xcode13 info.plist上的不可用的键
摘要:
我想知道如何将以下片段添加到xcode13上的信息。
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fbAPP-ID</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>APP-ID</string>
<key>FacebookClientToken</key>
<string>CLIENT-TOKEN</string>
<key>FacebookDisplayName</key>
<string>APP-NAME</string>
详细信息:
我正在努力将 Facebook登录API 集成到我用 swiftui 编写的应用程序中。但是,根据Meta开发人员说明,我们需要在Info.plist中添加代码。 ),我试图按以下方式添加键:
- 像往常一样,在自定义 iOS目标属性窗格(projectName - &gt; target - &gt; info-&gt; custom iOS target属性 按钮;
- &nbsp;在显示列表中搜索了a&nbsp;
但是,我找不到以下密钥。
- cfbundleurlschemes
- cfbundleurltypes
- facebookappid
- facebookclienttoken
我已经完成了指令的远期步骤。
我的环境:
- Macos Monterey v12.1
- Xcode版本13.2.1(13c100)
- Swiftui
Summary:
I want to know how to add the following snippet to info.plist on Xcode13, when I cannot find the name of keys I want to add in the key name list.
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fbAPP-ID</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>APP-ID</string>
<key>FacebookClientToken</key>
<string>CLIENT-TOKEN</string>
<key>FacebookDisplayName</key>
<string>APP-NAME</string>
Details:
I am working to integrate FACEBOOK login API to my application written in SwiftUI. However, under the meta developer instructions, we need to add the code in info.plist. As usual, on Custom IOS target properties pane (projectname -> target -> info -> Custom IOS target properties), I tried to add the key by the following way :
- Pushed a plus button;
- Searched a key name in the appeared list.
However, I cannot find the following keys.
- CFBundleURLSchemes
- CFBundleURLTypes
- FacebookAppID
- FacebookClientToken
I have already completed the forward steps in the instructions.
My environment:
- MacOS monterey v12.1
- Xcode Version 13.2.1 (13C100)
- SwiftUI
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
搜索只是提示,您可以通过复制paste添加任何想要的密钥:
*btw,URL类型在URL类型下方添加:
Search is just for tips, you can add any key you want by copy-paste:
*btw, URL types are added in section below URL Types: