Upgraded to Xcode 7.2 and my UI Tests Pass without

2019-08-11 10:47发布

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?

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.

2条回答
家丑人穷心不美
2楼-- · 2019-08-11 11:32

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.

查看更多
可以哭但决不认输i
3楼-- · 2019-08-11 11:39

I had the same issue with Xcode 7.3.1 and iOS 9.3.1. Rebooting the iOS device solved my problem.

查看更多
登录 后发表回答