null-dev / firefox-profile-switcher

Create, manage and switch between browser profiles seamlessly.
GNU General Public License v3.0
377 stars 26 forks source link

Installation with xcode 13.2 fails #23

Closed mzanini closed 2 years ago

mzanini commented 2 years ago

Would love to get this working! I am trying to install the homebrew package and I am getting the message:

Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.

I have Command Line Tools already installed, it looks like they are too new?

xcodebuild -version
....
Xcode 13.2.1
Build version 13C100

I am on an M1 Mac Mini.

null-dev commented 2 years ago

Can you post the output of: brew config?

mzanini commented 2 years ago

brew config

Sure!

brew config
HOMEBREW_VERSION: 3.3.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 537036ab3627b65d71dfa920b98d43774f861dec
Last commit: 8 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a9dfc0f12888232dda8cfcd9336599bb3f804c71
Core tap last commit: 14 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.33.1 => /opt/homebrew/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.1-arm64
CLT: 12.5.0.22.9
Xcode: 13.2.1
Rosetta 2: false
null-dev commented 2 years ago

Did you try running:

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

as suggested by homebrew?

My undestanding is that xcode and the CLT are different and maybe although your xcode is up to date your CLT isn't.

mzanini commented 2 years ago

Did you try running

You are right that did it! I admit that is a bit embarrassing but I normally don't follow suggestions to sudo rm -rf anything 😄 .

Hope that this will help somebody else! Thanks a lot for the support and for the extension!