I would like to use the Jenkins Xcode Plugin to build and sign my application in an automated fashion.
As per the aproriate instructions I uploaded a valid developer profile as a Jenkins credential. In a sample freestyle project I then added the build step Import developer profile
where I selected the aforementioned profile. I chose to import the credentials to an existing empty keychain, so that I can see what happens with regards to the contents of that keychain.
When I build the project, the build fails with the following message, and nothing ever gets written to the selected keychain. The issue is reproducible with just the Import developer profile
build step although I've tried it with a more realistic setup.
$ security unlock-keychain -p ******** /path/to.keychain
ERROR: No Apple developer profile is configured
Finished: FAILURE
Any suggestions on how to debug this issue further are greatly appreciated!