XCode 5.0.1: can you run automated UI scripts in Instruments?

我的梦境 提交于 2019-12-11 17:34:46

问题


After upgrading to 5.0.1, I'm unable to run UI scripts and get the following message: An error occurred while trying to run the script. Furthermore, recording (the bottom red button) doesn't work either. Is it the only solution to wait for Apple to fix it? Is there a way to downgrade to 5.0?


回答1:


i had the same problem, and you should look at this link:

https://groups.google.com/forum/#!topic/zucchini-discuss/fQNrfOTaIuU

this is what Thomas W. said, and it totally solved my problem: "It is simple, just go into "~/Library/Application Support/iPhone Simulator". There is beside the folder 7.0 an folder named 7.0.3 and maybe 7.0.3-64. Simply remove the 7.0 folder and exec following command:

ln -s 7.0.3 7.0"

Hope it fix your problem!




回答2:


I had the same problem but none of the other answers worked. There was no 7.0 folder; I'm using 5.0.2 (didn't try 5.1 yet)

Eventually I plugged in a device and ran my project on the iPod/iPhone instead of the simulator and it worked perfectly.



来源:https://stackoverflow.com/questions/19686229/xcode-5-0-1-can-you-run-automated-ui-scripts-in-instruments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!