Reputation: 9576
Jenkins cannot find our recently updated provisioning profiles and after trying every known solution I'm running out of ideas what could be wrong.
Build jobs fail with error:
No profile matching 'xxxxx' found: Xcode couldn't find a profile matching 'xxxxx'.
The build server is a Mac, running Xcode 8 and we're using Jenkins with the Xcode plugin.
Building and signing with Xcode 8 directly on the same machine is successful and I installed all the required profiles by double-clicking them.
Does anyone know any workable solution to fix this issue?
Upvotes: 13
Views: 5739
Reputation: 477
Put your provisioning profiles under
You have to create manually folder under Library folder.
And make sure that your Distribution certificate is in "System" tab in keychain Access. If not then copy from "Login" tab and paste under "System" tab.
Upvotes: 3
Reputation: 103
The fix for myself was giving the jenkins user proper permissions for the ~/Library/MobileDevice
folder and the ~/Library/MobileDevice/Provisioning\ Profile
.
Otherwise the jenkins user can't read from the provisioning file folder.
Upvotes: 1