升级到 Xcode 7.2,我的 UI 测试通过而不运行 [英] Upgraded to Xcode 7.2 and my UI Tests Pass without running

查看:16
本文介绍了升级到 Xcode 7.2,我的 UI 测试通过而不运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到 Xcode 7.2,现在我的测试甚至没有运行就成功了.一旦完成构建,它就会给我测试成功"消息并且控制台没有显示任何输出.

I just upgraded to Xcode 7.2 and now my tests succeed without even running. As soon as it finishes building, it gives me the "Test Succeeded" message and the console shows no output.

还有其他人遇到这个问题吗?

Is anyone else having this issue?

更新:所以看起来它不仅在一个特定的设备上工作,也就是 iPAD AIR 2,而且 UI 测试平台甚至没有安装到设备上.它不适用于两台装有 Xcode 7.2 的独立机器.

UPDATE: So it looks like it's not working only on one specific device, which is an iPAD AIR 2, and the UI Test platform doesn't even install onto the device. It doesn't work on 2 separate machines both with Xcode 7.2.

推荐答案

当我将设备更新到 iOS 9.2 时,问题得到解决.我不明白为什么看到我的所有其他设备都设法在 9.1 上正常运行测试,这可能是问题所在.

The issue was resolved when I updated my device to iOS 9.2. I don't see why this could've been the issue seeing all my other devices managed to run tests fine on 9.1.

这篇关于升级到 Xcode 7.2,我的 UI 测试通过而不运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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