If possible, use a charged system.
If you have no option but to use a free one, the following steps are required.
- Search for a “Certificate” compatible with the Apple developer ID in “Key Chain Access”, and use the displayed “Department” value as the “Team ID”.
- Every time the WebDriverAgentRunner-Runner app is installed on a device, it is necessary to authorize the account from “General” > “Profile” in the “Settings” app on the device.
- Since certificates expire after a short period of time, it is necessary to periodically implement workarounds in case the connection to the real iOS device is unsuccessful.