Xcode 10 无法在设备上运行 XCTest/XCUITest [英] Xcode 10 fails to run XCTest/XCUITest on device

查看:41
本文介绍了Xcode 10 无法在设备上运行 XCTest/XCUITest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到 XCode 10 后,它无法在设备上运行我的测试.构建完成后,它立即显示一个弹出窗口测试失败",控制台上没有显示任何错误.

After upgrading to XCode 10, it fails to run my tests on the device. After finish building, it immediately shows a popup "Test Failed" without showing any errors on the console.

运行"适用于设备.XCTest 和 XCUITest 都在模拟器上运行.

"Run" works on device. Both XCTest and XCUITest runs on simulator.

在设备上运行默认 UITest 的新项目上可重现该错误.

The error is reproducible on new project running the default UITest on the device.

推荐答案

重启手机就可以了.

这篇关于Xcode 10 无法在设备上运行 XCTest/XCUITest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆