添加“应用组";今日扩展小部件的应用程序ID的权利 [英] Adding the "App Groups" entitlement to App ID for Today Extension Widget
问题描述
我正在尝试在Today扩展上创建窗口小部件,但在配置概要文件中遇到了一些与权利有关的问题.
I am trying to create a widget on the Today extension but have been having some issues regarding entitlements with my provisioning profile.
本质上,我只是想在Today扩展程序上输出问候消息.但是我无法查看此消息,因为我认为是权限/设置配置文件问题,导致无法使用应用程序组.我正在使用XCode 6.1
In essence I'm just trying to output a greeting message on the Today extension. But I am not able to view this message because of what I believe is an entitlements/provisioning profile issue that is preventing the App Groups from being used. I am using XCode 6.1
以下是我遇到的错误(对所有链接表示歉意;我没有足够的代表点来张贴内嵌图像)
The error I'm having is below (apologies for all the links; I don't have enough rep points to post inline images it seems)
http://imageshack.com/a/img540/6973/eYBQly.png
在我的开发者帐户上,您可以看到我已在此应用程序ID上启用了应用程序组
And on my Developer Account, you can see that I've enabled App Groups on this App ID
http://imageshack.com/a/img912/3636/jY84SI.png
但是它似乎仍然不起作用,即我仍然收到与应用组不属于应用ID的错误有关的信息,我认为这反过来阻止了今日"窗口小部件工作.
But it still doesn't seem to work, i.e. I still get the errors pertaining to App Groups not being a part of the App ID which in turn is, I believe, preventing the Today widget from working.
有人可以请您解释一下配置文件的工作原理,以及我可能会在这里丢失吗?
Would someone be able to please explain how the provisioning profile works and what it is that I might be missing here?
推荐答案
执行以下步骤
- 找到您的应用ID,并确保您的应用组状态为已启用.
- 使用您的应用ID创建配置文件并将其下载到计算机,然后双击它
- 检查Xcode的身份以确保您的团队是正确的.如果遇到问题,请单击修复问题"
这篇关于添加“应用组";今日扩展小部件的应用程序ID的权利的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!