I am trying to setup continuous integration in Xcode 5 on Mavericks. If I have a bot do a new clean project build, it completes with no errors. If I have the bot do the build on my actual project, I get the following error:
No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX”, however, no such provisioning profile was found. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0'
If I pull latest source on the server machine and build/archive it on the server it works as expected. All expected certificates and public keys are included in keychain. I have tried to update all provisioning profile settings in the project and build target the scheme points at. Does anyone have any ideas how to resolve this error?
EDIT: After cracking open the project file and looking at the UUID, from what I can tell the UUID for the provisioning file it can't find does exist. Perhaps this is some kind of permission issue with the build not having access to the profile or keychain certificate?
I had the same problem and finally managed to make it work.
First of all, I added my server to my developer team but I had the same error as you.
Then I copied my key from user keychain
to system keychain
as indicated here but it was still not enough.
And finally, I copied the provisioning profiles from ~/Library/MobileDevice/Provisioning\ Profiles/
to /Library/MobileDevice/Provisioning\ Profiles/
(in fact I copied all the MobileDevice directory because it didn't exist).
And now, I have a working continuous integration giving me an ipa which I can download on my Mac or install over the air on my devices.
I don't know why I had to do this, but I hope it will work for you too.
I had the same problem since switching to Xcode 5. My solution was different.
Since the error message said "Your build settings specify a provisioning profile with the UUID xxxxxx", I checked the file containing my build setting (myproject.xcodeproj/projecjt.pbxproj).
There I found a line with exactly that UUID. After deleting the line (of course a made a backup of the file first), everything worked again.
Hi I had the same issue and the problem was I had the certificates in my login keychain and the build script was looking in System keychain. I copied the certificate in system key chain also and now Xcode was able to use the provisioning profile for the build
after searching how to solve this problem , after spending 1 whole day in front of my keyboard , looking through all pages and ideas how to solve this i actually found something interesting out.
Something came on my mind mentioned (edit YOU_APP.xcodeproj). So I SOLVED THIS:
You will not believe but it worked after spending a lot of time. =)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With