Xcode Watchkit:没有一个有效的配置文件允许指定的权利:beta-reports-active,com.apple.security.application-groups [英] Xcode Watchkit: None of the valid provisioning profiles allowed the specified entitlements: beta-reports-active, com.apple.security.application-groups

查看:115
本文介绍了Xcode Watchkit:没有一个有效的配置文件允许指定的权利:beta-reports-active,com.apple.security.application-groups的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,我知道有很多这些问题浮出水面,我知道所有这些问题的答案是:

Yes, I know that there are a lot of these questions floating around and I know that the answer to all of them was:

登录开发者会员中心

转到标识符,配置文件等

Go to Identifiers, profiles, etc

单击编辑,然后在您的配置文件上生成

Click Edit and then Generate on your provisioning profile

那对我不起作用!我在Xcode 6.4 Beta 1和WatchKit中开发了我的应用程序。我尝试提交它,但在看到这个错误后,我想也许我应该尝试使用nonbeta版本的Xcode提交它。顺便说一句就是这个错误:

That didn't work for me! I developed my application in Xcode 6.4 Beta 1 and with WatchKit. I tried submitting it but after seeing that error, I figured maybe I should try submitting it with a nonbeta version of Xcode. By the way here is that error:

所以我回到Xcode 6.3,不是beta Xcode,并尝试再次提交。它做了同样的事情!然后,我仍然在Xcode 6.3中创建了另一个项目,并将我的代码复制并粘贴到一个未经测试的项目中。我保留了相同的Bundle ID和所有内容。

So I went back into Xcode 6.3, the not beta Xcode and tried submitting again. It did the same thing! I then, still in Xcode 6.3, created another projects and just copied and pasted my code into a project that was not made in beta. I kept the same Bundle ID and everything.

我仍然得到相同的结果。所以我不知道该怎么做!我已经在这一天工作了一整天,Apple Watch在5天内发布,我不能错过!请帮忙!

I still got the same result. So I have no idea what to do! I've been working on this for a whole day now and the Apple Watch is released in 5 days and I CAN'T MISS THAT!!! So PLEASE help!

我试过:

重启Beta Xcode和普通Xcode

Restarting both Beta Xcode and Normal Xcode

退出并重新登录(在Mac桌面上我的意思)

Logging out and logging back in again (on Mac desktop I mean)

通过重新生成配置来执行正常的Developer Portal mumbo jumbo个人资料

Doing the normal Developer Portal mumbo jumbo with regenerating the provisioning profile

使用相同代码创建新项目

Creating new project with same code

请帮忙!我提前感谢你了!

PLEASE help! I thank you in advance!

推荐答案

我在尝试提交时遇到类似的错误,如下所示......

I got a similar error when attempting to submit, as below...

No matching provisioning profiles found for "Applications/yourapp.app"
None of the valid provisioning profiles allowed the specified entitlements: 
beta-reports-active, com.apple.developer.ubiquity-kvstore-identifier.com, 
com.apple.security.application-groups, com.apple.developer.ubiquity-container-identifiers

简答:

删除并重新安装您的条款

Remove and re-install your provisioining profiles

长答案:

构建项目时,只需复制到〜/ Library / MobileDevice /中,即可自动安装相应的配置文件。临愿景配置文件目录。

When our project is built the appropriate provisioning profiles are installed automatically simply by being copied into the ~/Library/MobileDevice/Provisioning Profiles directory.

问题发生时我可以看到〜/ Library / MobileDevice / Provisioning Profiles 中存在正确的配置文件然而,当我打开iPhone配置实用程序Mac应用程序时,没有出现相应的配置文件(我猜这表明它们没有正确安装,可能因为它们已损坏或其他原因)

When the problem occurred I could see that the correct provisioning profiles existed in ~/Library/MobileDevice/Provisioning Profiles HOWEVER when I opened the 'iPhone Configuration Utility' Mac application the appropriate provisioning profiles were NOT appearing (which I guess is an indication that they aren't properly installed, maybe coz they're corrupted or something)

我不知道它是如何在这种状态下获得iteslf但我能够通过删除〜/ Library / MobileDevice / Provisioning Profiles 目录,重新构建应用程序,以便将配置文件复制回目录,强制重新安装。

I have no idea how it got iteslf in this state but I was able to fix by deleting the existing files in the ~/Library/MobileDevice/Provisioning Profiles directory, re-building the app so that the provisioning profiles were copied back into the directory forcing them to be reinstalled.

配置文件随后在iPhone中可见Configuration Utiltiy和提交到App Store时不再出现此错误。

The provisioning profiles then became visible in iPhone Configuration Utiltiy and when submitting to the App Store this error no longer appeared.

这篇关于Xcode Watchkit:没有一个有效的配置文件允许指定的权利:beta-reports-active,com.apple.security.application-groups的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆