does not run on macOS versions other than Monterey: CC Switch installation failure
Quick fix
Run brew update and retry. If the cask is still locked to Monterey, change the macOS condition to >= :monterey.
Symptom
Section titled “Symptom”Error: This software does not run on macOS versions other than Monterey.The Homebrew cask entry `depends_on macos: :monterey` is interpreted as allowing only macOS 12, rather than Monterey and later. As a result, Homebrew blocks installation on macOS 13, 14, and 15 even when CC Switch can run. `brew info --cask cc-switch` displays this condition as `Required: macOS == 12`.
The related issues cover v3.15.0, v3.16.0, and v3.16.2. The maintainer recommended running `brew update` to refresh the cask metadata before retrying, and suggested upgrading to 4.0 in another closing reply. However, neither issue confirmed that the updated cask fully fixed the condition, and one was closed due to inactivity.
Run `brew update` to update Homebrew and the cask metadata, then run `brew install --cask cc-switch` again.
If you maintain the cask definition, change the Monterey-only condition in `farion1231/homebrew-ccswitch` to allow Monterey and later versions.
https://github.com/farion1231/homebrew-ccswitch/blob/HEAD/Casks/cc-switch.rb depends_on macos: :montereydepends_on macos: ">= :monterey"Apply the same change to the corresponding condition in `homebrew/cask`.
https://github.com/Homebrew/homebrew-cask/blob/master/Casks/c/cc-switch.rb depends_on macos: :montereydepends_on macos: ">= :monterey"If the cask still blocks installation after updating, install manually from GitHub Releases. An issue report confirms that v3.16.2 launches on macOS 15.1 arm64; use `xattr -rd com.apple.quarantine "/Applications/CC Switch.app"` to clear the quarantine attribute.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 2 real issues
- Does this message indicate a problem when installing on macOS 14?
- Yes. The issue confirms that the Homebrew cask's `depends_on macos` condition was incorrectly restricted to Monterey only; it does not mean the CC Switch application cannot run on macOS 14. Run `brew update` and retry. If the error remains, the current cask metadata still contains the restriction.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.