build settings specify a provisioning profile with the UUID

IosIphoneXcodeCode SigningProvisioning Profile

Ios Problem Overview


I cannot seem to be able to archive an app on a new computer. I created new provisioning profiles for distribution and development. I created a new Certificate Signing Request. I can build my app on my iPhone, but I cannot archive it. I keep getting the error:

> No matching provisioning profiles found Your build settings specify a > provisioning profile with the UUID “BD657D9A-...”, however, no such > provisioning profile was found. Xcode can resolve this issue by > downloading a new provisioning profile from the Member Center.

I tried clicking on "Fix Issue" and it still continues to be an error. I removed my certificates from the keychain and downloaded it again through the development portal and that didn't work. I've tried cleaning, rebuilding, closing Xcode, and those all do not work either. I have tried to do different combinations of Code Signing-> Automatic, as well as choosing my debug provisioning profile to be my development profile I just created in the dev portal, and manually choosing the distribution profile I just created in the dev portal as well. Both do not seem to work. Any other troubleshooting tips? Thanks.

Ios Solutions


Solution 1 - Ios

I'm using XCode 7.2 and saw this problem. Restarting XCode solved this for me. Not sure it will always solve the problem, but you may want to try this first.

Solution 2 - Ios

I know its too late to put an answer here but this question comes up at the top after searching this issue. I managed to solve this by selecting the project and in Build settings changed the UUID options to what I wanted.

enter image description here

Solution 3 - Ios

If you are now using Xcode 7.2, it appears you will receive this message if you download individual profiles either from the Developer Center or from Xcode > Preferences > Account. Select Team Name and View Details > Provisioning Profiles section. I downloaded individual profiles (I've got several dozen so its hard to find a particular one) and was running into this error. Even if you select Download All after downloading individual profiles, this error still comes up.

You will need to find the Provisioning Profiles and delete them then select Download All. Easiest way is to right click on a profile in an Account's details that is already downloaded and select Show In Finder and delete them all. Then just select Download All and hopefully your profiles will match up to your Code Signing.

See: https://stackoverflow.com/questions/34346436/xcode-7-2-no-matching-provisioning-profiles-found

Solution 4 - Ios

I had this issue with Xcode 7.2 and an example I downloaded from a tutorial site, and I tried to run this on my iPhone.

For me this simple solution worked :

  1. under 'Build settings' -> 'Code signing' : you'll find the 'hard coded' UUID of the original creator -> change this to 'automatic' for both the debug and release:

enter image description here

  1. under 'General' -> 'Identity' -> Team : select your provisioning profile. You can also update the bundle identifier if needed.

enter image description here

  1. a 'clean' is always a good idea after such changes, then build

this solved the issue for me!

Solution 5 - Ios

This is a known issue of Xcode 7.1. In my case, recreating the profile was the only successful workaround

  1. Delete the previous distribution profile at the Member Centre
  2. Recreate the distribution profile
  3. Archive with the recreated profile

Solution 6 - Ios

Deleting the DerivedData for the project worked for me:

rm -rf ~/Library/Developer/Xcode/DerivedData/AppName

Solution 7 - Ios

Try to use iPhone Configuration Utility and XCode organizer to ensure all certificates/provisions are configured correctly (they should be marked as green ones). Please check if your device is included into certificate/provision on Apple Developer.

Such verifying and killing/opening XCode (kill it totally, in use of Activity Monitor) worked for me

Solution 8 - Ios

I updated Xcode7.1 to 7.1.1. Then, solved this problem.

Solution 9 - Ios

I was getting the same error when i tried to archive, tried re-starting XCode, cleaning, rebuilding, nothing worked for a while. Then with the target selected as my project, under General -> Identity -> Bundle identifier, I just deleted and then re-typed the same exact (i know it's silly!) bundle identifier name and then tried to archive again, this time it worked. Such a crazy bug.

Solution 10 - Ios

I opened project.pbxproj with text editor and searched for UUID and delete the line like this PROVISIONING_PROFILE = "UUID";

Solution 11 - Ios

Had the same issue… Make sure the BUNDLE IDENTIFIER in Xcodeʻs GENERAL view for your project matches what the profile reads on your Dev web portal, and then THAT profile is installed in Xcode verbatim. Select that profile in your BUILD setting, and you could be solved by now (the App installed on devices without issue), but we also noticed we could to go back to GENERAL view and the FIX button actually worked: it fixed the "not found" profile (once "fixed" the fix button disappears)

Solution 12 - Ios

A lot of people are copying the profiles manually from their "Provisioning Profiles" folder in "~/Library/MobileDevice" with success (including myself). If this works for you, quit copy+pasting and symlink it!

$ sudo -i

# mkdir /Library/MobileDevice; ln -s /Users/myuser/Library/MobileDevice/Provisioning\ Profiles/ /Library/MobileDevice/ -- where myuser is your username.

Solution 13 - Ios

Make sure that your bundle id matches app id in developer portal. I had bundle id com.company.MyApp and app id com.company.myapp

Solution 14 - Ios

I resolved this problem by the following steps:

  1. cd ~/Library/MobileDevice/Provisioning\ Profiles/
  2. rm *.mobileprovision
  3. reset your provision

Solution 15 - Ios

Given up on all of the above. The only thing that worked for me was:

  1. Delete certs and profiles from developer portal
  2. Delete certs and profiles from mac
  3. Recreate certs and profiles in developer portal, download and install on mac
  4. Delete bundle identifier from 'General' tab in xcode
  5. Re-add bundle identifier
  6. Assign new profiles and code signing entities (dev and prod) in xcode code signing
  7. (clean again), build, deploy to device/simulator as a test
  8. Archive and upload to itunes current version

On step 7, xcode requested access to keychain (which it did not do in other solutions stated above), once granted - it worked.

Same for step 8.

Not sure what was going on (my certs and profiles were only 3 months old), and I admit this was a 'brute force' method - but it worked.

Good luck.

Solution 16 - Ios

I did everything that everyone suggested, but none of these fixed my issue.

Using Xcode 7.3.1, what did fix it was this:

Change the settings to run the app on the simulator. If you have it set to run on a device, and the device udid isn't in the provisioning profile, it will (wrongly) yell at you.

Go to your Project > Target > Build settings > Code Signing > Provisioning profile and change it from "Automatic" to select the exact profile you want. At this point, if you haven't changed the app to run on a simulator, an alert might pop up yelling at you to "Fix Issue". DON'T do that!

After you manually select your provisioning profile from the list, archive your app. Viola!

Solution 17 - Ios

Most of you will face this issue in latest version of XCode i.e. 7.1, so the solution I used to solve this is

  1. Complile the code in Xcode 7.0
  2. Clean the Project
  3. Build the Project
  4. Archive

All Done.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCrystalView Question on Stackoverflow
Solution 1 - IospliveseyView Answer on Stackoverflow
Solution 2 - IosJibran KhanView Answer on Stackoverflow
Solution 3 - Iosn8yn8View Answer on Stackoverflow
Solution 4 - IosRonny WebersView Answer on Stackoverflow
Solution 5 - IosDion ChoView Answer on Stackoverflow
Solution 6 - IosMatthijs BiermanView Answer on Stackoverflow
Solution 7 - IosAlex PedaView Answer on Stackoverflow
Solution 8 - IossagarayaView Answer on Stackoverflow
Solution 9 - IosAshleyCView Answer on Stackoverflow
Solution 10 - IosSame7FaroukView Answer on Stackoverflow
Solution 11 - IosCOCONUT INFOView Answer on Stackoverflow
Solution 12 - IoshumbolightView Answer on Stackoverflow
Solution 13 - IosderpoliukView Answer on Stackoverflow
Solution 14 - IosRobin LeeView Answer on Stackoverflow
Solution 15 - IoszevijView Answer on Stackoverflow
Solution 16 - IosjungledevView Answer on Stackoverflow
Solution 17 - IosiYoungView Answer on Stackoverflow