The requested page is not available for selected version.
Configuring iOS device
This section describes essential configurations needed to ensure that automated tests on iOS run successfully and stably.
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.
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.
On your macOS machine: Give permissions to the lockdown folder with the following command:
sudo chmod -R 777 /var/db/lockdown