Hacker News new | ask | show | jobs
by kaeawc 4194 days ago
How are you dealing with the XCode 6 bug where iOS Simulator can't be used for tests over SSH sessions? We're using Java Web Start with Jenkins, I've read others using LaunchAgents with mixed success. Also, what versions of iOS Simulator are you supporting? I looked here (https://circleci.com/docs/configuration) in the docs, but I'm not seeing anything for iOS.
1 comments

We use the LaunchAgent approach. A separate sshd that's spawned there for the build user.

We originally tried with named pipes (a process via LaunchAgent), but it made it much harder for our customers to modify the build command without understanding our secret incantations.

As far as SDKs, we have 7.0, 7.1, and 8.0. Thanks for highlighting that the docs are missing that!

Does this require a logged in user? how does it handle multiple users per mac (if I have multiple silos using different credentials)
Yes, a LaunchAgent based solution requires a logged in user because the iOS Simulator requires an actual GUI context. We (at Bitrise) experimented with a lot of solution and configuration but couldn't find a solution where you don't have to log in with the user on the GUI.

Btw you can find our solution on GitHub, might be helpful if you plan to do something similar: https://github.com/bitrise-io/xcodebuild-unittest-miniserver

thank you.