ios ui automation - Why does running UIAutomation methods from KIF result in: "UIAutomation is not enabled on this device. UIAutomation must be enabled in Settings"? -


using: ios 8.4, xcode 6.4, kif 3.2.1 (https://github.com/kif-framework/kif)

i encounter following problem on real device: while running kif test case, calling method, "deactivateappforduration" results in following output seen in xcode console: "uiautomation not enabled on device. uiautomation must enabled in settings."

on simulator, app indeed go background duration specified in parameter of method call.

  • i can confirm setting in device settings, "developer > uiautomation" toggled on.
  • the build compiling , running debug build , signed developer provisioning profile (not distribution profile).
  • all possible compile configurations in scheme set debug (profile example)
  • i can record , playback ui interactions in instruments developer tool (confirms app built right , phone settings correct)

specific code: [tester deactivateappforduration:5];

what missing?

this known issue uiautomation on device, see here.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -