UI自动化在iOS5模拟器上运行良好,但在iOS6和iOS7上就不行了

时间:2021-12-07 13:11:14

It seems like iOS5 simulator is not supported on Mavericks. That was the only simulator that worked for me, and I have a bunch of tests in UI Automation. iOS6 and iOS7 simulator takes 2-5 times longer to load (about 30-50 seconds), and my guess is that instruments times out before the sim is started. I get a "An error occurred while trying to run the script." however - the error message appears after 1 minute. I have a MacBook Air 1.4 Ghz with 2GB of memory. Quite strange that iOS5 worked so snappy and all other simualtors so incredibly slow. Any ideas?

看起来iOS5模拟器不支持Mavericks。这是我用过的唯一的模拟器,我在UI自动化方面有很多测试。iOS6和iOS7模拟器加载时间要长2-5倍(约30-50秒),我的猜测是设备在sim卡启动之前会超时。我在运行脚本时发生了一个错误。但是,错误消息在1分钟后出现。我有一台带有2GB内存的MacBook Air 1.4 Ghz。很奇怪,iOS5运行得如此之快,而所有其他的simualtors运行得如此之慢。什么好主意吗?

1 个解决方案

#1


2  

It doesn't seem to be a Mavericks issue. Are you using Xcode 5.0.1? I am and it completely broke the UIAutomation tool. I cannot run any tests at all as they all fail to start. I've tried Mountain Lion and Mavericks and the results are the same.

这似乎不是小牛队的问题。您使用的是Xcode 5.0.1吗?是的,它完全破坏了UIAutomation工具。我不能运行任何测试,因为它们都不能启动。我试过山狮和小牛队,结果是一样的。

I hope Apple fixes this ASAP.

我希望苹果能尽快解决这个问题。

#1


2  

It doesn't seem to be a Mavericks issue. Are you using Xcode 5.0.1? I am and it completely broke the UIAutomation tool. I cannot run any tests at all as they all fail to start. I've tried Mountain Lion and Mavericks and the results are the same.

这似乎不是小牛队的问题。您使用的是Xcode 5.0.1吗?是的,它完全破坏了UIAutomation工具。我不能运行任何测试,因为它们都不能启动。我试过山狮和小牛队,结果是一样的。

I hope Apple fixes this ASAP.

我希望苹果能尽快解决这个问题。