DEV Community

Brisbane Web Developer
Brisbane Web Developer

Posted on

1

Amend Location Changer not working with macOS Sequoia (macOS 15.0 (24A335))

Summary

  • Location Changer stopped working after updating to macOS Sequoia (macOS 15.0 (24A335)).

  • Found that it gets this message You are not associated with an AirPort network. when fetching the current Wi-Fi network name.

Solution

This takes longer time to retrieve the current Wi-Fi network name, but I have not found another way so far.

1. Install jq for the next step:

brew install jq
Enter fullscreen mode Exit fullscreen mode

2. Revise the way to extract the current Wi-Fi network

system_profiler SPAirPortDataType displays the current network connection details and the option -json does in JSON format which is easier to extract the Wi-Fi network name:

/usr/local/bin/locationchanger::Around the line 16
======
SSID=`system_profiler -json SPAirPortDataType | jq -r '.SPAirPortDataType[0].spairport_airport_interfaces[0].spairport_current_network_information._name'`
Enter fullscreen mode Exit fullscreen mode

References

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay