I just rebooted and ran the codesign command as it appears in the last successful build, and it executes just fine. Yet when Jenkins performs the build, it fails with the same error. I was never prompted to allow/deny anything :/.
On Wednesday, March 7, 2012 2:46:35 PM UTC-7, Arnaud Héritier wrote: > > you'll probably never see it. You'll have to to logon on this account and > launch manually the codesign command you can see in your build logs > > On Wed, Mar 7, 2012 at 10:35 PM, Hilton Campbell wrote: > >> I haven't seen that dialog appear. But then, I've never been logged in to >> the desktop as the jenkins user while a build was happening. I'll try that >> out and report. >> >> >> On Wednesday, March 7, 2012 8:52:28 AM UTC-7, Arnaud Héritier wrote: >> >>> Hi >>> >>> Couldn't it be a problem with the codesign program trying to access to >>> the keychain ? >>> Did you ask it manually to always allow it ? >>> https://wiki.jenkins-ci.org/**display/JENKINS/XCode+Plugin#** >>> XcodePlugin-Installationguide<https://wiki.jenkins-ci.org/display/JENKINS/XCode+Plugin#XcodePlugin-Installationguide> >>> >>> >>> Arnaud >>> >>> >>> On Wed, Mar 7, 2012 at 4:35 PM, Hilton Campbell wrote: >>> >>>> Whenever I reboot my Mac, all subsequent Xcode builds fail with "Code >>>> Sign error: The identity 'iPhone Distribution: Blah blah blah' doesn't >>>> match any valid certificate/private key pair in the default keychain". I >>>> have the certificate/private key pair it is looking for in my jenkins >>>> user's login keychain, and my jobs are configured to unlock the keychain, >>>> which they do successfully according to the build log. >>>> >>>> Whenever this happens I try a lot of things, like moving the >>>> certificate/private key pair to the system keychain, or logging in as the >>>> jenkins user, or whatever else my desperate Google searches turn up. But >>>> then I remember what I did to fix it last time, which is to reinstall >>>> Jenkins using the Mac installer, turning off the install as daemon option >>>> and turning on the install as jenkins user. Once installation completes, >>>> the jobs work again. >>>> >>>> Any ideas what it is that the installation is doing that a reboot is >>>> undoing? >>>> >>> >>> >>> >>> -- >>> ----- >>> Arnaud Héritier >>> 06-89-76-64-24 >>> http://aheritier.net >>> Mail/GTalk: aherit...@gmail.com >>> Twitter/Skype : aheritier >>> >>> > > > -- > ----- > Arnaud Héritier > 06-89-76-64-24 > http://aheritier.net > Mail/GTalk: aherit...@gmail.com > Twitter/Skype : aheritier > >