Curnelious
Curnelious

Reputation: 1

None of the valid provisioning profiles include the devices?

We have a company account . We have created the developer and distribution provisioning files, and drag them into Xcode.

When we try to code sign for distribution, we choose the release to be :

iPhone distribution:companyName

We always get this error when trying to put the app on real iPhone ( this iPhone is registered in the dev center and included in the dev provisioning file! ):

None of the valid provisioning profiles include the devices:myDevice

But they Are include this device.

Upvotes: 0

Views: 2555

Answers (1)

baothefish
baothefish

Reputation: 11

You can use a provisioning profile created for Ad Hoc Deployment to solve this issue:

  1. Create an Archive: Xcode->Product->Archive

  2. After the Archive is created: Export (pane on the right) -> Save for Ad Hoc Deployment -> Follow through the process; whether you save the .ipa file in the end is irrelevant

  3. Go back to "Build Settings" and set "Code Signing Identity" for Release to "iOS Distribution", build and run! Xcode will automatically pick the ad hoc provisioning profile created (named "XC Ad Hoc: xxx") which includes all your devices. You can check it at the Member Center at developer.apple.com as well.

I had the exact same problem and the above worked. Xcode version 6.4.

Upvotes: 1

Related Questions