ios 添加应用程序组后 Xcode 显示警告(将“应用程序组”权利添加到您的应用程序 ID)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27146966/
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
Xcode shows warning after adding App Groups (Add the "App Groups" entitlement to your App ID)
提问by Joschka Schulz
After I added an App Group in Xcode it shows a warning:
在 Xcode 中添加应用程序组后,它显示警告:
Add the "App Groups" entitlement to your App ID
Add the "App Groups containers" entitlement to your App ID
将“应用程序组”权利
添加到您的应用程序 ID将“应用程序组容器”权利添加到您的应用程序 ID
Before the warning there was a loading spinner like this:
在警告之前有一个像这样的加载微调器:
after it finished the loading I got the following warnings:
完成加载后,我收到以下警告:
What can I do to correct the two wrong steps? If I'm right it is already added to my App ID.
我能做些什么来纠正这两个错误的步骤?如果我是对的,它已经添加到我的 App ID 中。
采纳答案by Ahmed Khalaf
I faced the same issue, and in my case my apple id did not have the permission to add the "App Group".
我遇到了同样的问题,就我而言,我的 Apple ID 没有添加“应用程序组”的权限。
If your account's type is "Member", not "Agent", then you need your Agent/Admin who has the main development account to add the "App Group" for you.
如果您的帐户类型是“会员”,而不是“代理”,那么您需要拥有主要开发帐户的代理/管理员为您添加“应用程序组”。
回答by pableiros
For me, what worked was I had to changed the Bundle Identifier
because I was working with a project template I had downloaded from the internet.
对我来说,有效的是我必须更改,Bundle Identifier
因为我正在使用从互联网下载的项目模板。
You can change that in:
你可以改变它:
Project Navigator -> Target -> <Your target> -> General tab
After that, I checked the App Groups
and the warnings had gone
在那之后,我检查App Groups
了警告已经消失了
回答by Jazzmine
For me, what worked was having the phone attached. Once I attached it, Xcode was able to finish the process and the two red check mark problems were resolved.
对我来说,有效的是连接电话。一旦我附加了它,Xcode 就能够完成这个过程,两个红色的复选标记问题也得到了解决。
回答by Rocky
You can try this steps:
您可以尝试以下步骤:
Find your App Id and make sure your App Group state is Enabled.
Use your App Id to create Provisioning Profiles and download to your computer then double click it
Check Xcode's Identity to make sure your team is the right one. If you have problems, click fix issue
找到您的 App Id 并确保您的 App Group 状态为 Enabled。
使用您的 App Id 创建配置文件并下载到您的计算机,然后双击它
检查 Xcode 的身份以确保您的团队是正确的。如果您有问题,请单击修复问题
回答by Roland Keesom
My problem was not having the App Groups set up correctly on all my App IDs on the Developer Portal. Therefor the App Groups in the app didn't work correctly.
我的问题是没有在开发人员门户上的所有应用 ID 上正确设置应用组。因此应用程序中的应用程序组无法正常工作。