gpt4 book ai didi

xcode - 在 Xcode 中创建的应用程序组未出现在开发者帐户控制台中

转载 作者:行者123 更新时间:2023-12-03 20:27:47 24 4
gpt4 key购买 nike

我在 Xcode 中为临时分布式目标创建了一个共享扩展目标。为了在主应用程序和扩展程序之间共享用户默认值,我为两个目标启用了应用程序组功能,添加了一个新的应用程序组。
现在,当我在项目配置 View 中查看共享目标时,看到以下错误:

Provisioning profile "my adHoc profile" doesn't support the App Groups capability.

Provisioning profile "my adHoc profile" doesn't support the App Group.

Provisioning profile "my adHoc profile" doesn't include the my app group groups entitlement.


Screenshot of first errors
这是有道理的;当我查看目标的功能选项卡并展开应用程序组权利时,我的新应用程序组以红色突出显示,并在其下方显示以下错误:

Add the App Groups feature to your App ID

Provisioning profile "my adHoc profile" doesn't support the App Groups capability

Add App Groups to your App ID

Provisioning profile "my adHoc profile" doesn't support the App Groups capability


Screenshot of error 2
但是当我导航到 developer.apple.com -> Account -> Certificates, IDs & Profiles -> Identifiers -> My share extension App ID -> App Groups -> Configure 时,我没有看到我创建的 App Group。
Screenshot of available app groups; mine is missing
如何将我的组添加到开发者控制台,以便我可以选择它作为我的 App ID 的组,以便它在我的配置文件中可用?

最佳答案

找到了!

应用程序组与其他标识符存在于相同的(顶部)层次结构中。所以要添加一个新的,我导航到 developer.apple.com -> Account -> Certificates, IDs & Profiles -> Identifiers ,然后单击加号按钮,然后选择“应用程序组”作为标识符类型。

这是添加新标识符的加号按钮:

Screenshot of identifiers screen with plus button

这是我选择添加应用程序组的地方:

Screenshot of identifier type menu with app group type selected

之后,我只是根据我的需要输入了应用程序组的名称和描述。

关于xcode - 在 Xcode 中创建的应用程序组未出现在开发者帐户控制台中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57186735/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com