It worked fine before iOS 17.1. Just checked with iOS 16 on real device. And my teammate from QA department confirmed it works for iOS 17.0.1. The problem occurs only with device in local network connected via ethernet. The device itself has two options for connection - via Wi-Fi and Ethernet. It works for all iOS versions via Wi-Fi. But it can't resolve host for Ethernet connection.
Error appears in
func netService(_ sender: NetService, didNotResolve errorDict: [String : NSNumber])
looks like that:
(NSNetServicesErrorDomain: 10,
NSNetServicesErrorCode: -72007)
Could you please explain this error code?