Replacement for CFNetDiagnosticDiagnoseProblemInteractively

Is there a replacement for deprecated CFNetDiagnosticDiagnoseProblemInteractively API?

We have seen it crash in previous versions of macOS and at least as of macOS 13.1 the following statement is printed

2023-01-19 13:44:02.004705+0100 0x12241d   Error       0x0                  42156  0    Cyberduck: (CFNetwork) CFNetDiagnosticDiagnoseProblemInteractively is no longer supported. Please stop using it.

it looks like most of the previous API is now covered in NWPathMonitor for detecting network changes but opening a network configuration assistance does not seem to be part of it. Was this removed altogether in recent versions as I also cannot find Network Diagnostics.app in System/Library/CoreServices.

Is there a replacement for deprecated CFNetDiagnosticDiagnoseProblemInteractively API?

No. Our conclusion was that:

  • The previous API and its implementation caused more problems than it solved.

  • It wasn’t feasible to create a new API that was likely to help folks in the general case.

I recommend that you do what the log message says and stop using it.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Replacement for CFNetDiagnosticDiagnoseProblemInteractively
 
 
Q