fulldecent / corelocationcli

Command line program to print location information from CoreLocation
MIT License
217 stars 29 forks source link

Support for Mac OS Monterey #41

Closed Chabulga closed 2 years ago

Chabulga commented 2 years ago

On Mac OS Monterey the installations says

/usr/local/Homebrew/Library/Homebrew/os/mac/version.rb:33:in `block in from_symbol': unknown or unsupported macOS version: :dunno (MacOSVersionError)

can someone adapt it to run with Monterey

fulldecent commented 2 years ago

Is that on Intel or ARM?

I tried install with ARM and worked fine:

❯ brew install corelocationcli
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 6 formulae.

Warning: Cask 'corelocationcli' is already installed.

To re-install corelocationcli, run:
  brew reinstall corelocationcli

~
❯ brew reinstall corelocationcli
==> Downloading https://github.com/fulldecent/corelocationcli/releases/download/3.2.0/Core
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset
######################################################################## 100.0%
==> Uninstalling Cask corelocationcli
==> Unlinking Binary '/opt/homebrew/bin/CoreLocationCLI'
==> Purging files for version 3.2.0 of Cask corelocationcli
==> Installing Cask corelocationcli
==> Linking Binary 'CoreLocationCLI' to '/opt/homebrew/bin/CoreLocationCLI'
🍺  corelocationcli was successfully installed
Chabulga commented 2 years ago

It is an ARM

I will try again.

Chabulga commented 2 years ago

It was my mistake I had to reinstall the arm version of brew. Or at least change some path I could not figure it out. So I reinstalled it in the recommended way for MacOS 12 and arm that solved it.

fulldecent commented 2 years ago

This should be fixed now

released to Brew at https://github.com/Homebrew/homebrew-cask/pull/122637#pullrequestreview-955865737