Hi,
Having an issue on one mac using Xcode 16.3 and simulator 18.4. macSO 15.4
We are checking for bonjour:
authorizationBrowser = NWBrowser(for: .bonjour(type: "_bonjour._tcp", domain: nil), using: parameters)
authorizationBrowser?.stateUpdateHandler = { [weak self] newState in
switch newState {
...
}
}
However at the command line we get the error:
nw_browser_fail_on_dns_error_locked [B1] nw_browser_dns_service_browse_callback failed: PolicyDenied(-65570)
Any idea why this is happening? or what this error means?
Thanks Antz
I’m currently researching this change
OK, we’re treating this as a bug. We have an internal bug on file about this already (r. 148870123), but if you want to file your own bug that’d be grand. You don’t have to go into too much detail; just ask that it be dup’d to the our bug and also explain how it’s affecting your day-to-day development.
Please post your bug number, just for the record.
Curiously, this seems to be limited to DNS. I see this problem with NSBrowser
and when I connect to a local DNS name, like guy-smiley.local.
, but I don’t see it when I connect to local IP address
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"