You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix AFC Connection errors when --device is specified
When `--device` is specified, CLI is trying to find all currently attached devices and check if the passed option is valid. This leads to starting of a setInterval, that is trying to detect when new device is attached.
The setInterval is executed on 2 seconds and it starts iOS related services and adb related services. It looks like this breaks the execution of AFC service.
Fix this by using a method that do not start the setInterval, but detects all currently detected devices.
This fix errors like:
`Error: Unable to close afc file connection: '4361027664'. Result is: '3'`
and
`Error: Unable to write to file: '4361027664'. Result is: '11'`
when `--device` is used.
0 commit comments