14:18:25.993 xcodebuild[24225:349241] Connection peer refused channel
request for
“dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface”;
channel canceled
14:18:25 Testing
failed:
14:18:25 Test target PROJECT_NAME encountered an error
(Invalid device state If you believe this error represents a bug,
please attach the log file at
/var/folders/hp/3m4jx3514dq4lf1l9s8hk5qh00009c/T/com.apple.dt.XCTest-status/Session-2015-08-05_14:18:22-ulOdQQ.log)
14:18:25 ** TEST FAILED **
我的问题是这个错误是怎么解决的?当xcode build命令在命令行中运行时,我收到相同的错误.我正在使用Xcode 6,而我正在运行的命令是:
xcodebuild -workspace PROJECT_NAME.xcworkspace -scheme ‘Scheme Name’
-destination ‘platform=iOS Simulator,name=iPad Air,OS=8.1’ clean build test
解决方法
>将“clean build”添加到命令行选项(如上所述)
>杀死模拟器在命令之前 – 建议在这里:(Instruments error: Connection peer refused channel request)
killall“模拟器”||回覆“没有发现属于你的匹配过程”
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。