sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
Results in the output: WARNING: The airport command line tool is deprecated and will be removed in a future release.
For diagnosing Wi-Fi related issues, use the Wireless Diagnostics app or wdutil command line tool.
But nothing happens. So there appears to be no replacement for CLI-based Wi-Fi disassociation.Anyone have a solution for Sonoma 14.1 arm by chance?
I've submitted a radar, but no one's ever going to read it and the functionality has already been broken pointlessly.
See also:
- https://forums.developer.apple.com/forums/thread/748161