Search code examples
iphoneswiftios8ios-provisioningxcode6-beta6

New Swift app Lister error: "No matching provisioning profiles found", "App ID with Identifier ... is not available"


I downloaded the sample code for the Lister app from Apple's developer website and am trying to build the Swift version to my iPhone 5S running iOS 8 Beta 5. I've changed everything to com.mycompany.Lister, but when I try to build it, it comes up with the following error.

No matching provisioning profiles found

None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.ubiquity-container-identifiers. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.

So I click "Fix Issue", it loads for a few seconds and comes back to me with this message:

An App ID with Identifier 'com.example.apple-samplecode.Lister.ListerToday' is not available. Please enter a different string.

I thought I had already changed everything to com.mycompany.Lister, but maybe I'm missing something hidden somewhere.


Solution

  • In your Build Settings change the Code Signing Identities from Distribution to Developer or don't code sign.

    As per @markerberg's comment: The trick is to go through the compile settings for all 8 items (toggle via drop down in the upper left corner of build settings). For each of the targets you need to change all the code signing options to "don't code sign". Then it works right away.