Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Finding connected Wi-Fi network no longer works in macOS 15 #31

@Jan-Dovetail

Description

@Jan-Dovetail

This line:
https://github.com/kandji-inc/support/blob/f14e634985ca25317823190a65e41c9210f7254b/Scripts/removeGuestNetwork.zsh#L74C1-L74C110

Can be replaced by this line in order to work with macOS 15:
currentNetwork="$(/usr/libexec/PlistBuddy -c 'Print :0:_items:0:spairport_airport_interfaces:0:spairport_current_network_information:_name' /dev/stdin <<< "$(system_profiler SPAirPortDataType -xml)" 2> /dev/null)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions