Re: Running xcodebuild via ssh
Re: Running xcodebuild via ssh
- Subject: Re: Running xcodebuild via ssh
- From: "Rich Knox" <email@hidden>
- Date: Mon, 13 Oct 2008 13:41:30 -0700
That was it. Running security unlock-keychain before xcodebuild fixes the problem. Thanks!
On Mon, Oct 13, 2008 at 10:01 AM, Chris Espinosa
<email@hidden> wrote:
On Oct 13, 2008, at 9:49 AM, Dmitri Goutnik wrote:
My guess is that codesign requires pseudo-tty. Have you tried ssh -t ?
On Oct 13, 2008, at 1:57 AM, Rich Knox wrote:
As part of an automated build process, I want to launch xcodebuild by running a script on a Mac OS-X machine via a SSH connection from a master build server. I'm able to do this, however when I get to the code singing phase (codesign), I get an error "User interaction is not allowed." If I log in directly to the Mac OS-X machine as the same user, I can run the script from a terminal session and everything works fun. Are there some SSH security settings I need to make this work? Thanks.
If your keychain is not unlocked, it needs a window server connection in order to prompt the user to unlock the keychain. Use security(1) to unlock the keychain on the remote machine prior to executing the xcodebuild.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden