Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A valid provisioning profile for this executable was not found... (again)

I know this has been asked and answered multiple times but I'm tearing my hair out as none of the proposed solutions appears to work.

enter image description here

I receive the above error, despite having a valid provisioning profile which, as far as I can tell matches the bundle identifier:

enter image description here

I've followed the steps in various suggested solutions on this site, including deleting all existing certificates and starting again, as suggested here and here.

One thing I have noticed is that the profile doesn't show up in the code signing lists, either for target or project.

Can anyone offer any further suggestions?

like image 603
Robert Avatar asked Feb 06 '13 11:02

Robert


People also ask

How do I download Apple provisioning profile?

After logging in to the iOS Provisioning Portal, click Provisioning in the sidebar. Click either the Development or Distribution tab to display the appropriate profiles. Click the Download button, in the Actions column, for the profile you want to download.

What is an Apple provisioning profile?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.

Where are provisioning profiles stored Mac?

All your provisioning profiles should be located in ~/Library/MobileDevice/Provisioning Profiles .


2 Answers

This happened to me yesterday. What happened was that when I added the device Xcode included it in the wrong profile by default. This is easier to fix now that Apple has updated the provisioning portal:

  1. Log in to developer.apple.com/ios and click Certificates, Identifiers & Profiles
  2. Click devices and make sure that the device in question is listed
  3. Click provisioning profiles > All and select the one you want to use
  4. Click the edit button
  5. You will see another devices list which also has a label which will probably say "3 of 4 devices selected" or something of that nature.
  6. Check the select all box or scroll through the list and check the device. If your device was unchecked, this is your problem.
  7. Click "Generate"
  8. DON'T hit Download & Install – while this will work it's likely to screw up your project file if you've already installed the provisioning profile (see this question for more info).
  9. Open Xcode, open the Organizer, switch to the Devices tab, and hit the Refresh button in the lower right corner. This will pull in the changes to the provisioning profile.

Now it should work.

like image 87
John Starr Dewar Avatar answered Oct 08 '22 20:10

John Starr Dewar


If none of above stated works then check for your device date, make sure your device date doesn't exceed profile expiry date i.e. not set to far future.

like image 29
Alpana Avatar answered Oct 08 '22 22:10

Alpana