简体   繁体   English

如何使用 Xcode 11 注册关联域?

[英]How to register Associated Domains with Xcode 11?

I've been trying to add Associated Domains capability to my App but can't find it using Xcode 11. Has this feature disabled upon version 11?我一直在尝试将关联域功能添加到我的应用程序,但无法使用 Xcode 11 找到它。此功能在版本 11 上是否已禁用? 在此处输入图像描述

The problem was with my Developer Account, it wasn't fully approved by Apple.问题出在我的开发者帐户上,它没有得到 Apple 的完全批准。 So, as soon it was approved, Associate Domains (and also Notifications) appeared in my Capabilities list.因此,一旦获得批准,关联域(以及通知)就会出现在我的功能列表中。 Don't know why they would limit development due to account status but they did.不知道他们为什么会因为帐户状态而限制开发,但他们确实做到了。

If you don't have a paid Apple developer account , remove "✓" from Automatically manage signing.如果您没有付费的 Apple 开发者帐户,请从自动管理签名中删除“✓”。 Then "Associated domain" will be available.然后“关联域”将可用。

worked for me in Xcode 12 !在 Xcode 12 为我工作!

在此处输入图像描述

  1. In xcode go to Editor > Add capability在 xcode go 到编辑器 > 添加功能

添加能力

  1. Just double click on "associated" domains in the window that opens只需双击打开的 window 中的“关联”域

在此处输入图像描述

  1. Add your domain添加您的域

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM