Search code examples
iosxcodemobilexcode8itunes

iOS how to add a provisioning profile


I am using Xcode Version 8.3.3 (8E3004b). I have an app developed that I would like to deploy to Apple's App Store.

In order to Archive and deploy, I understand I first need a provisioning profile. So, in the developer console, I set up an iOS Distribution Provisioning Profile.

enter image description here

I also have the following certificates:

enter image description here

On my MacBook, I added the following certificates to the key chain:

enter image description hereenter image description here

Then when I go to Xcode, I would expect to have a Provisioning Profile:

enter image description here

But as you can see, it Failed to create provisioning profile and No profiles for 'com.ionicframework.thewhozoo912107' were found.

I am obviously missing some step in order to create the Provisioning Profile in order to distribute the app to the Apple App Store.

Question

If anyone can suggest what I need to do in order to create a working provisioning profile in order to distribute the app, I would appreciate the help.

More info:

enter image description here


Solution

  • Solution:

    I fixed this in Xcode by unchecking Automatically Manage Signing, and then selecting my provisioning profile.

    enter image description here