Can we use UI Automation tools with the iPhone Simulator?

后端 未结 2 788
夕颜
夕颜 2021-01-06 16:05

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. I’ve tried s

相关标签:
2条回答
  • 2021-01-06 16:26

    Yes in theory you can. In practice there are a lot of problems. But did you check if simulator has the accessibity.plist?

    I found this on https://devforums.apple.com/message/261883#261883 they recommend: "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" and it worked for me.

    0 讨论(0)
  • 2021-01-06 16:41

    If you have trouble getting the correct target, running your project with a different instrument (like Leaks) should put your executable into the "choose target" list. That is at least one potential error source you can exclude that way.

    0 讨论(0)
提交回复
热议问题