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はLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400