iOS start program problem: missing device libraries
Problem
Upon completion of an automated test, the following error message is reported in the Automation Problem dialog box, or in the test result:
The start program action could not complete due to the device missing libraries required for automation. Please connect the device via USB to an macOS machine with Xcode installed. This will load the libraries automatically.
Solution
Synchronize essential development libraries with your iOS test device via Xcode:
Connect the iOS device to an macOS computer via USB cable.
You’ll be asked to verify that you trust the connected computer. Tap Trust.
Start Xcode on the macOS machine and wait for at least 10 seconds, so that the iOS device can obtain the essential development libraries.
Tip:Once you see the device listed under the Devices heading in the panel on the left side of the Xcode application, you are assured that the transfer is complete.