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

查看:20
本文介绍了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 中开发了我的应用程序.我尝试提交它,但在看到该错误后,我想也许我应该尝试使用非测试版的 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 和 Normal Xcode

Restarting both Beta Xcode and Normal Xcode

注销并重新登录(我的意思是在 Mac 桌面上)

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

通过重新生成配置文件来执行正常的开发者门户笨拙的工作

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/Provisioning Profiles 目录中即可.

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)

我不知道它是如何进入这种状态的,但我能够通过删除 ~/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天全站免登陆