Xcode Watchkit: none of the valid provisioning profiles allowed the specified rights: beta reports-active, com.apple.security.application-groups

Yes, I know that there are many around these questions, and I know that the answer to them was as follows:

Sign in to the Developer Center

Go to identifiers, profiles, etc.

Click Edit, and then Generate in the provisioning profile.

This did not work for me! I developed my application in Xcode 6.4 Beta 1 and WatchKit. I tried to introduce it, but when I saw this error, I thought maybe I should try sending it with a non-invisible version of Xcode. By the way, here is this error:

Watchkit error

So, I returned to Xcode 6.3, not the beta version of Xcode, and tried to send again. He did the same! Then I was still in Xcode 6.3, created another project, and simply copied and pasted my code into a project that was not made in beta. I kept the same Bundle id and that’s it.

I have the same result. So I have no idea what to do! I have been working on this all day, and the Apple Watch is released in 5 days, and I CAN’T READ THAT !!! So PLEASE help!

I tried:

Restarting both Beta Xcode and Normal Xcode

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

Running a regular mumbo jumbo developer portal with regenerating a provisioning profile

Creating a new project with the same code

Please, help! I thank you in advance!

+15
ios objective-c xcode watchkit apple-watch
Apr 19 '15 at 11:46
source share
1 answer

I had a similar error while trying to send 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 

enter image description here

Short answer:

Uninstall and reinstall your Proviseioining profiles

Long answer:

When our project is built, the corresponding preparation profiles are automatically installed by copying to the ~/Library/MobileDevice/Provisioning Profiles directory.

When the problem arose, I could see that the correct provisioning profiles existed in ~/Library/MobileDevice/Provisioning Profiles HOWEVER, when I opened the Mac App Utility application for iPhone, the corresponding preparation profiles did NOT appear (which, I think, is a sign that they aren’t installed correctly, maybe they are damaged or something like that)

I have no idea how it got iteslf in this state, but I was able to fix it by deleting the existing files in the ~/Library/MobileDevice/Provisioning Profiles directory, rebuilding the application so that the preparation profiles were copied back to the directory causing them to reinstall.

Preparation profiles then became visible in the configuration of the iPhone Utiltiy and when sending to the App Store this error no longer appeared.

+23
Sep 11 '15 at 12:13
source share



All Articles