I\'m trying to distribute a new version of the app (it can be installed OTA) and I got the error:
\"Code Sign error: No matching provisioning profile found: Your
Egad… try this first: Our team encountered this exact issue trying to open an updated app with newly download Xcode 5.1 on iOS 7.1 device with a one day tardy profile. Hours later:
Download and install a new profile (as necessary) then:
Make sure the BUNDLE IDENTIFIER in your project's Xcode’s GENERAL view matches verbatim what the profile reads on your Developer WEB portal, and then be sure THAT profile is downloaded & installed in Xcode. Select that profile in your BUILD setting, and you could be solved by now (the App then 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
This took me a long time to figure out. I wasn't keen to redo all my profiles and certificates like some of the people suggested. My error message was saying ""Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “6278e001-8887-4fe4-a95c-a722c896792f”" but then when I went into ~/Library/MobileDevice/Provisioning\ Profiles
and printed out all the files using ls -la
I could clearly see the profile there.
I tried doing a Clean
and Clean Build Folder...
. I then tried to remove derived data. None of this worked.
But then when I simply quit Xcode and opened it again it worked
Xcode must be storing a cache somewhere when it opens up. This seems crazy to me. But what can we do.
I hope this helps someone.
I kept running into this issue with Xcode 7.1 and tried some of the solutions above but didn't have any success. What I found did solve the issue was going to Go > Go To Folder > ~/Library/MobileDevice/Provisioning Profiles and deleting all of the provisioning profiles.
From there I added back the provisioning profiles on an as needed basis and it seemed fix the issue. I'll post back if I find that it doesn't permanently fix the issue, but so far so good.
Considering everything you set properly still facing issue. Then Just delete all derived data for your project , quit XCode then open your project again.
It workes for me.
I was able to get a fix done just by doing the following:
If anyone still has this issue - and happens to have setup a workspace with individual projects, I'd suggest you from the root folder do a:
egrep -R "INPUT_THE_ID_MISSING" *
and remove directly the PROVISIONING_PROFILE = "*****"
line from the file
in my case, it ended happening that an old xcodeproject has a bad provisioning but I was attempting to archive from within the workspace