6 ms·
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 other
by kaeawc 12y 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 https://circleci.com/docs/configuration) in the docs, but I'm not seeing anything for iOS.
- z00b 12y agoWe 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!
- RyJones 12y agoDoes this require a logged in user? how does it handle multiple users per mac (if I have multiple silos using different credentials)
- viktorbenei 12y agoYes, 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 https://github.com/bitrise-io/xcodebuild-unittest-miniserver
- RyJones 12y agothank you.