Tag: jnlp

通过JNLP使用Jenkins时,iOStesting不会在模拟器上运行

我一直在试图让xcodebuildtesting在使用Jenkins的远程机器上工作。 我遇到了无法通过SSH启动GUI的错误,并通过JNLP启动从站来解决这个问题,如下所示: 在Xcode 6下通过SSH运行xcodebuildtesting时超时 。 现在我得到一个新的错误: 错误域= IDEUnitTestsOperationsObserverErrorDomain代码= 3“取消testing由于超时在等待testing过程检入…” 无论是在terminal上还是通过Jenkins成功构build和运行testing,我也会遇到这些错误: iPhoneSimulator:SimVerifier返回:错误域= NSPOSIXErrorDomain代码= 53“模拟器validation失败。 {NSLocalizedFailureReason =无法build立与模拟器validation服务的连接,NSLocalizedRecoverySuggestion =确保Xcode.app安装在启用了所有权的卷上,NSLocalizedDescription =模拟器validation失败。} iPhoneSimulator:无法连接到“com.apple.instruments.deviceservice.lockdown”(错误域= com.apple.CoreSimulator.SimError代码= 146“无法在当前状态下查找:关机” 我已经确定在安装了XCode的地方启用了所有权,我已经在模拟器上重置了内容和设置,并且将我的plist文件移动到/ Library / LaunchAgents中。 我试着谷歌search这些错误,找不到任何似乎与我的问题有关的东西。 有没有人有任何其他的build议? 其他信息: XCode版本6.2(6C131e) 日志文件: 2015-03-24 12:14:10.719 Beginning test session with Xcode 6C131e 2015-03-24 12:14:10.720 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild test -project proj.xcodeproj -scheme development -destination platform=iOS Simulator,name=iPad Air 2015-03-24 12:14:10.720 Testing on device: <DVTiPhoneSimulator: […]