在Mac iOS模拟器启动时通过SSH运行Calabash失败

时间:2017-03-28 09:47:45

标签: ios macos ssh cucumber calabash

我试图在另一台Mac上运行Calabash测试用例来自另一台Mac的SSH。我订阅的用户不是管理员,但我已获得https://superuser.com/questions/166179/how-to-enable-remote-access-for-another-account-on-mac-remotely-via-ssh所述的权限

因此,在bundle exec cucumber之后,测试用例开始运行,但iOS模拟器无法启动,但失败并显示错误:

LSOpenURLsWithRole() failed for the application /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app with error -10810.

任何人都知道为什么会这样吗?

1 个答案:

答案 0 :(得分:0)

ssh之后,尝试

chmod +x /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app