build settings specify a provisioning profile with the UUID

54,348

Solution 1

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

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

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: Xcode 7.2 no matching provisioning profiles found

Solution 4

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

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

enter image description here

3) a 'clean' is always a good idea after such changes, then build

this solved the issue for me!

Solution 5

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
Share:
54,348
Crystal
Author by

Crystal

Updated on September 01, 2020

Comments

  • Crystal
    Crystal over 3 years

    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.

  • user4951
    user4951 about 10 years
    What is General View.
  • Jibran Khan
    Jibran Khan over 9 years
    Make sure you have installed the certificates and provisioning files on your MAC
  • steve
    steve over 8 years
    I still can't get this to work...any other suggestions?
  • steve
    steve over 8 years
    Just an fyi, I was stuck on this for a while and it's worth pointing out that you need to make sure you have "target" selected when making these changes and not "project". This is found to the left of the tabs at the top of the screen under the name of your project (in the screen shot above it's "N...") -- you're on the wrong screen if you only see "Info" and "Build Settings"
  • CodeReaper
    CodeReaper over 8 years
    The iPhone Configuration Utility is not available in every country's app store it would seem.. :-|
  • SaleenS7
    SaleenS7 over 8 years
    This got rid of OP's error for me, but now I get 'A valid provisioning profile for this executable was not found'. What a frustrating error
  • BeachRunnerFred
    BeachRunnerFred over 8 years
    This fixed it after 30 mins of troubleshooting, thanks. So frustrating.
  • Alexander
    Alexander over 8 years
    Thank you so much. I spend 2 hours
  • PeterT
    PeterT over 8 years
    Worked for me too. I'd already restarted Xcode many times for other issues this evening but somehow took me until I found this post to try it for this issue... I really hate Apple for this.
  • adamteale
    adamteale over 8 years
    I just found that you can get to the profiles quickly from Xcode by right-clicking on them and selecting "Reveal in Finder" in the "Select Team Name and View Details > Provisioning Profiles" section.
  • aronspring
    aronspring over 8 years
    I done exactly as @adamteale done and it fixed it for me. XCode seems to be getting worse at this somehow...
  • Ethan Parker
    Ethan Parker over 8 years
    This was the real fix. I said "show in finder" and then deleted every single profile on my local machine. Then I said "download all" and we're good to go.
  • Muhammad Rizwan
    Muhammad Rizwan over 8 years
    I could not up vote you twice otherwise would give 100+
  • Abhinav Chauhan
    Abhinav Chauhan over 8 years
    Restarted and cleaned the project. Worked :)
  • Francis Reynolds
    Francis Reynolds over 8 years
    Thank you Thank you Thank you
  • tumultous_rooster
    tumultous_rooster about 8 years
    Flagged as 'not an answer'?
  • Holly Cummins
    Holly Cummins about 8 years
    Doing 'download all' fixed a similar problem for me; just downloading the profiles I was using (and deleting and re-downloading them, and then deleting and restarting and downloading again) didn't fix it.
  • Gordon Dove
    Gordon Dove about 8 years
    Worked for me; have a plus
  • Bhumit Mehta
    Bhumit Mehta about 8 years
    Oh god!! After all the code issues you have to deal with these irritating errors too now a days
  • user435779
    user435779 about 8 years
    As late as XCode 7.3 -- yup, just needed a restart.
  • insaneinc
    insaneinc about 8 years
    I updated Xcode to 7.3.1 for no reason, but what finally works is a restart. Phew!