• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running xcodebuild via ssh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Running xcodebuild via ssh (From: "Rich Knox" <email@hidden>)
 >Re: Running xcodebuild via ssh (From: Dmitri Goutnik <email@hidden>)
 >Re: Running xcodebuild via ssh (From: Chris Espinosa <email@hidden>)

  • Prev by Date: iphone compiling with xcode's gcc 4.2
  • Next by Date: Re: Help - can't debug plugins anymore
  • Previous by thread: Re: Running xcodebuild via ssh
  • Next by thread: Globals not shown in Xcode Globals Browser
  • Index(es):
    • Date
    • Thread