Gop*_*ube 4 iphone sdk ios4 ios-ui-automation
我是iPhone Automation的新手,也是iOS4推出的UIAutomation框架.最近我使用UIAutomation通过仪器在iPhone模拟器上自动测试应用程序,但它给我一个错误,如"[UIATarget_0x5a20d20 frontMostApp]中的意外错误,/ SourceCache/UIAutomation_Sim/UIAutomation-37/Framework/OUATargetElements.m第437行"
我也尝试过用iOS4更新后在iPhone 3G设备上运行应用程序.但仪器向我显示警告"此设备不支持自动化".
我的问题是,UIAutomation是否可以在模拟器上运行?我是否需要购买3GS或iPhone 4.0等新设备才能运行?提前致谢...
Had the same problem and found the answer on https://devforums.apple.com/message/261883#261883
on the device you need multi-tasking.
on the simulator you need a plist : com.apple.Accessibility.plist .
"copying your com.apple.Accessibility.plist from your 4.0 folder to your 4.0.1" did the trick for me.
| 归档时间: |
|
| 查看次数: |
1884 次 |
| 最近记录: |