我们能够在我们的大多数机器上启动 xcuitrunner。在一台机器上,我们仍然得到以下异常:
Unhandled Exception: System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: No connection could be made because the target machine actively refused it: [_IP ADDRESS]:27015
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapShot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
at System.Net.Sockets.Socket.Connect(String host, Int32 port)
at Quamotion.Devices.iOS.Managed.MuxerDeviceClient.Connect(Boolean forceTcp, String muxerHost, Int32 muxerPort)
at Quamotion.Devices.iOS.Managed.MuxerDeviceClient.ListDevices(CancellationToken cancellationToken)
at XcuitRunner.Program.<>c__DisplayClass5_1.<Main>b__2()
at Microsoft.Extension.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at XcuitRunner.Program.Main(String[] args)
Apple Mobile Device Service 正在运行,iTunes 和类似的工具idevicesyslog
可以很好地看到该设备。
这个错误有解决办法吗?