我终于设法找到了一个很好的简单解决方案。JNLP导致我们的jenkins服务器出现许多问题。
*通过 https://corner.squareup.com/2015/07/ios-build-infrastructure.html
*进行SSH超时的解决方法
“小牛(10.9)和优胜美地(10.10)确定进程是否可以通过访问进程的父项来访问可访问性挂钩。通过将启动启动放入允许的进程列表中,通过SSH或Jenkins启动的进程可以访问跨进程的可访问性挂钩系统。您可以按照此要点修改TCC数据库。需要重新启动才能使更改生效。”
#!/bin/bash# This will add lauchd to the list of allowed processes for accessibility accesssudo sqlite3 /Library/Application Support/com.apple.TCC/TCC.db "INSERT or REPLACe INTO access VALUES('kTCCServiceAccessibility','/sbin/launchd',1,1,1,NULL)"# This outputs the rows in the TCC databasesudo sqlite3 /Library/Application Support/com.apple.TCC/TCC.db 'select * from access'echo "Restart is required for these changes to take effect"更新8/02/2016 现在已在Xpre 7.2.1中修复(“命令行工具’xprebuild
test’将不再等待Simulator.app启动而超时”)



