• 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: Unit testing via SSH in Xcode 6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit testing via SSH in Xcode 6


  • Subject: Re: Unit testing via SSH in Xcode 6
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 15 Jan 2015 11:55:58 -0800


I'm having trouble running my unit tests over SSH after upgrading from Xcode 4 to Xcode 6.
...

Test target MyCocoaApplicationTests encountered an error (Test session exited(-1) without checking in. If you believe this error represents a bug, please attach the log file at /var/folders/h2/xngxkxm15_93gm4n50p7s_mm0000gp/T/com.apple.dt.XCTest-status/Session-2015-01-15_12:35:52-0qPMDN.log)

Looks like xcodebuild is trying to launch a GUI process, which fails because its process group wasn't created by launchd and so isn't allowed to connect to the WindowServer. (You can create the same kind of error by trying to use the 'open' command from an SSH shell.)

Since you say this worked in Xcode 4, I guess the older test environment must not have created a GUI process.

Have you looked at the Xcode continuous-integration support in OS X Server? It can run automated tests.

—Jens
 _______________________________________________
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

  • Follow-Ups:
    • Re: Unit testing via SSH in Xcode 6
      • From: Andrew Keller <email@hidden>
References: 
 >Unit testing via SSH in Xcode 6 (From: Andrew Keller <email@hidden>)

  • Prev by Date: Unit testing via SSH in Xcode 6
  • Next by Date: Re: Unit testing via SSH in Xcode 6
  • Previous by thread: Unit testing via SSH in Xcode 6
  • Next by thread: Re: Unit testing via SSH in Xcode 6
  • Index(es):
    • Date
    • Thread