Can we use UI Automation tools with the iPhone Simulator?

后端 未结 2 904
夕颜
夕颜 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.

提交回复
热议问题