iOS 14 DNSServiceBrowse failed: NoAuth(-65555)

Hi,
I am setting up a NSBrowser as follows:

Code Block swift
NWBrowser(for: .bonjour(type: bonjourType, domain: nil), using: parameters)


When running on iOS13, everything works great, but on iOS14, I keep getting:

nwbrowserfailondnserrorlocked [B3] DNSServiceBrowse failed: NoAuth(-65555)

Is there something that I need to specifically set for iOS14?

Kind Regards

Chris
To get it working I had to add

Code Block xml
<key>NSLocalNetworkUsageDescription</key>
  <string>Network usage is required for macOS/iOS communication</string>
  <key>NSBonjourServices</key>
  <array>
    <string>_myitem._tcp</string>
  </array>


Also worth to check if there isn't a typo/difference in service name between info.plist and your NWBrowser's type or NWListener.Service's name.
iOS 14 DNSServiceBrowse failed: NoAuth(-65555)
 
 
Q