我正在尝试使用Jenkins运行xcodebuild命令来定期构建我的代码.Jenkins吐出的错误消息是:
14:18:25.993 xcodebuild [24225:349241]连接对等方拒绝了"dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"的频道请求; 频道已取消
14:18:25测试失败:
14 :18 :25测试目标PROJECT_NAME遇到错误(设备状态无效如果您认为此错误代表错误,请将日志文件附加到/ var/folders/hp/3m4jx3514dq4lf1l9s8hk5qh00009c/T /com.apple.dt.XCTest-status/Session-2015-08-05_14:18:22-ulOdQQ.log)14:18:25
**测试失败**
我的问题是这个错误是什么,我该如何解决?当在命令行中运行xcode build命令时,我收到相同的错误.我正在使用Xcode 6,我正在运行的命令是:
xcodebuild -workspace PROJECT_NAME.xcworkspace -scheme'Scheme Name' -destination'platform = iOS模拟器,名称= iPad Air,OS = 8.1'清洁构建测试
我刚开始使用HTML/CSS/jQuery,我尝试开始基本的.目前我有.html,.css和.js.我的index.html将加载.css但不会加载.js.我的代码有问题吗?
<!DOCTYPE html>
<html>
<head>
<title>Super Mario!</title>
<link rel='stylesheet' type='text/css' href='stylesheet.css'/>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<img src="http://i1061.photobucket.com/albums/t480/ericqweinstein/mario.jpg"/>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
img {
position: relative;
left: 100px;
top: 100px;
}
Run Code Online (Sandbox Code Playgroud)
$(document).ready(function() {
$(document).keydown(function(key) {
switch(parseInt(key.which,10)) {
case 65:
$('img').animate({left: "-=10px"}, 'fast');
break;
case 83:
$('img').animate({top: "+=10px"}, 'fast');
break;
case 87:
$('img').animate({top: "-=10px"}, 'fast');
break;
case 68:
$('img').animate({left: "+=10px"}, 'fast');
break;
default:
break;
}
});
});
Run Code Online (Sandbox Code Playgroud)
请帮我弄清楚为什么这不起作用.一些额外的信息,它们都位于我桌面上的同一文件夹中.没有子文件夹.