Xcode Project can't run iOS Simulator if the agent is started in LaunchDaemons (like the docs say)

I just spend some hours trying to find why xcodebuild couldn't run on the iOS Simulator (hang forever) when started by a TeamCity agent. And I found out that the solution is simple, instead of starting the agent on LaunchDamoens like the doc says the correct way to have access to GUI applications is to start them from LaunchAgents.

I propose a doc update to warn people that if they want to run Xcode Projects they should copy jetbrains.teamcity.BuildAgent.plist into /Library/LaunchAgents/ instead of /Library/LaunchDaemons/.

2 comments
Comment actions Permalink

Hi,

Thank you for provided information. We updated our documentation.

0
Comment actions Permalink

Thank you! :D

TeamCity team, please add underlines to LaunchAgents. I made this mistake also :)

0

Please sign in to leave a comment.