How can I enable automation for UITest on an iOS device?

Error Message

You may see the following error message when executing Xamarin.UITest based tests on your local iOS device:

Getting System.Exception : Instruments failed to start the app while running UI Test on iOS device.


This exception is thrown when the iOS device being tested on is not enabled for UI Automation; which is required for Unit-Testing on a device. You can set this on the device in “Settings -> Developer -> UI Automation”

See Also

Last Updated: Jan 15, 2016 08:17PM EST