Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing provisioning profile on device does nothing xcode 6

I have a valid provisioning profile, the program I'm running works fine on one of my iPhones. However, for some reason I cannot add it to my other iPhone. Here's how it looks:

Show provisioning profile Show provisioning profile

Click to add one Click to add one

Select my provisioning profile Select my provisioning profile

Aaaaaand nothing happens Aaaaaand nothing happens

Has anyone else experience a similar problem or does anyone know what might be the solution? As of just now it just seems that xcode is unresponsive.

like image 514
Rkey Avatar asked Oct 07 '14 11:10

Rkey


People also ask

How do I add a device to my provisioning profile on my Iphone?

After logging in to the iOS Provisioning Portal, click Devices in the sidebar. Click Add Devices. Enter a device name and the device ID. Click Submit.


2 Answers

Rkey, I had this same problem. If you haven't found a solution, this is how I solved mine. Instead of trying to install a provisioning profile by yourself, run the app on the device without trying to set it up yourself. Now, if I'm not mistaken, you'll get the "no provisioning profile found for this executable" message or something like that.

You need to change the Code Signing Identities in the build settings of your Xcode6. Change everything [Code signing identity, Debug, Any SDK, Any iOS SDK, Release, Any iOS SDK)to iOS Developer and set Provisioning Profile to Automatic.

After that, if you try to run the app on the phone again, the prompt will give you an option to "Fix Issue" and clicking on "fix issue" solves the problem.

Hope it works for you.

like image 87
etana Avatar answered Sep 20 '22 18:09

etana


  • Go to apple portal and add all the required devices there.
  • Then go to the provisioning profile you want to download, edit it and make sure the following things:

  • The App ID associated with the provisioning profile and your App ID in the info.plist is the same.

  • All the required devices are included in this profile(they are checked marked for the profile).
  • Check the associated provisioning profile certificate is valid and you have a private key pair for that certificate.

  • In xcode settings select the provisioning profile and code signing identity(the certifcate) for the scheme you are running the application.

like image 37
hariszaman Avatar answered Sep 22 '22 18:09

hariszaman