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.
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.
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.
https://i.stack.imgur.com/n734y.png
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
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:
https://i.stack.imgur.com/hZSbG.png
2) under 'General' -> 'Identity' -> Team : select your provisioning profile. You can also update the bundle identifier if needed.
https://i.stack.imgur.com/uikUE.png
3) a 'clean' is always a good idea after such changes, then build
this solved the issue for me!
This is a known issue of Xcode 7.1. In my case, recreating the profile was the only successful workaround
Delete the previous distribution profile at the Member Centre Recreate the distribution profile Archive with the recreated profile
Deleting the DerivedData for the project worked for me:
rm -rf ~/Library/Developer/Xcode/DerivedData/AppName
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
I updated Xcode7.1 to 7.1.1. Then, solved this problem.
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.
I opened project.pbxproj with text editor and searched for UUID and delete the line like this PROVISIONING_PROFILE = "UUID";
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)
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.
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
I resolved this problem by the following steps:
cd ~/Library/MobileDevice/Provisioning\ Profiles/ rm *.mobileprovision reset your provision
Given up on all of the above. The only thing that worked for me was:
Delete certs and profiles from developer portal Delete certs and profiles from mac Recreate certs and profiles in developer portal, download and install on mac Delete bundle identifier from 'General' tab in xcode Re-add bundle identifier Assign new profiles and code signing entities (dev and prod) in xcode code signing (clean again), build, deploy to device/simulator as a test 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.
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!
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
Complile the code in Xcode 7.0 Clean the Project Build the Project Archive
All Done.
Success story sharing