Troubles with scanning/testing Web Tests on iOS
Running Web Tests on iOS needs ios-webkit-debug-proxy to be running. Lately this might not be running correctly and an error is received.
Scanning/Testing a Webpage on an iOS device needs ios-webkit-debug-proxy to be running on the mac using:
ios_webkit_debug_proxy -c <udid>:27753 -d
This might lead to an error like the following:
Could not connect to lockdownd, error code -19. Exiting.
On the device the error is usually visible that only the appium.io homepage is loaded but not the Webpage under Test.
The reason for the error is due to components used by ios_webkit_debug_proxy. Updating/reinstalling them should lead to the fix.
brew update brew uninstall --ignore-dependencies libimobiledevice ios-webkit-debug-proxy usbmuxd brew install --HEAD usbmuxd brew unlink usbmuxd brew link usbmuxd brew install --HEAD libimobiledevice brew install --HEAD ios-webkit-debug-proxy
As of February 2019 running the command
should lead to the following output:
ios_webkit_debug_proxy 1.8.3 Built with libimobiledevice v1.2.1, libplist v2.0.0
Please check if the version numbers are matching yours.
If the error still persists, please contact support for further guidance.