我试图在另一台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.
任何人都知道为什么会这样吗?
答案 0 :(得分:0)
在ssh
之后,尝试
chmod +x /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app