Configuring iOS device

This section describes essential configurations needed to ensure that automated tests on iOS run successfully and stably.

  1. Remote debugging is a remote web inspector for debugging web or hybrid applications on iOS devices. The following configurations must be set up to allow remote debugging to be performed:

    • Physically connect the iOS device to Appium server via USB cable/WIFI connection during test automation.
    • On your iOS test device: Turning on Web Inspector is the most crucial configuration for automating:
      • Tap Settings > Safari > Advanced.
      • Turn on Web Inspector.
  2. On your iOS test device: Disabling Auto-Lock ensures that your device does not automatically lock its display while the automated test is running, which would cause the test to fail:

    • Tap Settings > General > Auto-Lock.
    • Select the Never option.
  3. On your macOS machine: Give permissions to the lockdown folder with the following command:

    sudo chmod -R 777 /var/db/lockdown
    

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400