简体   繁体   English

iPhone:在模拟器上运行自动化测试

[英]iPhone: run Automation tests on Simulator

I've been using the new UI automation tools with Instruments and the iPhone SDK 4.0, but so far I haven't been able to get it to run under the iPhone Simulator. 我一直在将新的UI自动化工具与Instruments和iPhone SDK 4.0一起使用,但到目前为止,我还无法使其在iPhone Simulator下运行。

For some people work solution like this: 对于某些人来说,这样的解决方案:

"Copy ~/Library/Application Support/iPhone Simulator/4.0/Library/Preferences/com.apple.Accessibility.plist to ~/Library/Application Support/iPhone Simulator/4.0.1/Library/Preferences" “将〜/ Library / Application Support / iPhone Simulator / 4.0 / Library / Preferences / com.apple.Accessibility.plist复制到〜/ Library / Application Support / iPhone Simulator / 4.0.1 / Library / Preferences”

But i don't have folder ~/Library/Application Support/iPhone Simulator/4.0 . 但是我没有文件夹〜/ Library / Application Support / iPhone Simulator / 4.0。 I have 4.0.2, 4.3 4.3.2..And they don't com.apple.Accessibility.plist. 我有4.0.2、4.3 4.3.2 ..而且它们没有com.apple.Accessibility.plist。 What to do ? 该怎么办 ? Thanks... 谢谢...

./Library is hidden folder in OS X Lion. ./Library是OS X Lion中的隐藏文件夹。
To show hidden file see this 要显示隐藏文件,请参阅

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM