Failed During Error /usr/bin/xcode-select
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 1,054 Star 29,527 Fork 14,082 Homebrew/legacy-homebrew Code Issues 2 Pull requests 0 Projects 0 Pulse Graphs Homebrew installer fails on 10.11.4 failure while executing: /usr/bin/otool -l /usr/bin/install_name_tool / Xcode 7.3 with xcode-select mis-pointed #50334 Closed apjanke opened this Issue Mar command line tools are already installed, use "software update" to install updates 23, 2016 · 12 comments Projects None yet Labels needs response Milestone Clear out Legacy Assignees
Brew Xcode
No one assigned 4 participants apjanke commented Mar 23, 2016 I have a fresh OS X 10.11.2 box which I just updated to 10.11.4 (via the app store) and installed Xcode 7.3 on.
Xcrun
(I renamed my Xcodes with suffixes, so I have /Applications/Xcode-7.2.app and /Applications/Xcode-7.3.app on this box.) Running the Homebrew installer by copy-and-pasting the command from brew.sh failed. [~] $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 Press RETURN to continue or any other key to abort ==> Searching online for the Command Line Tools ==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress ==> Installing Command Line invalid active developer path Tools (OS X 10.11) for Xcode-7.3 ==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ (OS\ X\ 10.11)\ for\ Xcode-7.3 Software Update Tool Copyright 2002-2015 Apple Inc. Downloading Command Line Tools (OS X 10.11) for Xcode Downloaded Command Line Tools (OS X 10.11) for Xcode Installing Command Line Tools (OS X 10.11) for Xcode Done with Command Line Tools (OS X 10.11) for Xcode Done. ==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress ==> Installing the Command Line Tools (expect a GUI popup): ==> /usr/bin/sudo /usr/bin/xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates Failed during: /usr/bin/sudo /usr/bin/xcode-select --install [✘ ~] $ sudo xcode-select --install Password: xcode-select: error: command line tools are already installed, use "Software Update" to install updates [✘ ~] $ This is the first time Homebrew has been installed on this box. It's a VMware Fusion VM instance. The CLT had previously been installed when just Xcode 7.2 was installed. The App Store doesn't show any available updates, and I can launch Xcode 7.3 without getting any dialogs prompting me to accept a EULA or anything. Removing /Applications/Xcode-7.2.app and renaming Xcode-7.3.app back to Xcode.app did not fix it. Same behavior when I tried r
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and
Install Command Line Tools El Capitan
policies of this site About Us Learn more about Stack Overflow the xcode-select install company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags homebrew el capitan Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only https://github.com/Homebrew/legacy-homebrew/issues/50334 takes a minute: Sign up OS X brew: Failure while executing: /usr/bin/otool up vote 1 down vote favorite On OS X (El Capitan, but likely to be also the case for previous version os OS X) the following error can take place after upgrading OS X and removing OS X beta versions. Error: Failure while executing: /usr/bin/otool -L /usr/bin/install_name_tool xcode osx http://stackoverflow.com/questions/33286835/os-x-brew-failure-while-executing-usr-bin-otool/33286836 homebrew osx-elcapitan share|improve this question asked Oct 22 '15 at 17:17 Stephane Paquet 693512 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote In order to fix this type of issue: Run in Terminal /usr/bin/otool and check the resulting error message. If you get the following error message: xcrun: error: active developer path ("/Applications/Xcode-beta.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify Then simply update the path to Xcode using xcode-select command in terminal: sudo xcode-select --switch /Applications/Xcode.app This should fix the issue and let you run all brew commands without any problem. share|improve this answer answered Oct 22 '15 at 17:17 Stephane Paquet 693512 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged xcode osx homebrew osx-elcapit
during: /usr/bin/sudo /usr/bin/xcode-select --install any ideas? 7 Answers Nick Fuller 9,026 Points Nick Fuller Nick Fuller 9,026 Points over 2 years ago Do you have Xcode installed? Tim Douglas 412 https://teamtreehouse.com/community/cant-install-homebrew Points Tim Douglas Tim Douglas 412 Points over 2 years ago Yeah got the latest installed : / Nick Fuller 9,026 Points Nick Fuller Nick Fuller 9,026 Points over 2 years ago Have you installed command line tools? Try opening terminal and running xcode-select --install read more here http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools/9329325#9329325 Once you have command line tools installed, try restarting your pc (may not be necessary but that's how I command line usually roll :P) and then try installing homebrew again. Let us know how it goes! Tim Douglas 412 Points Tim Douglas Tim Douglas 412 Points over 2 years ago Nope still the same error after that command and a reboot...any other suggestions? The password is my mac password right? Alex Rodriguez 2,144 Points Alex Rodriguez Alex Rodriguez 2,144 Points over 2 years ago I'm having the same exact command line tools issue and it's killing me. :( Tim Douglas 412 Points Tim Douglas Tim Douglas 412 Points over 2 years ago yeah, I've still not solved it either....hope someone knows :P Thomas Coler 7,918 Points Thomas Coler Thomas Coler 7,918 Points over 2 years ago Open up the Xcode Application and go to Preferences. Under Locations, select command line tools and select the newest version and it will prompt you to enter your password. Close Xcode and then go ahead with your HomeBrew install. This worked for me. Posting to the forum is only allowed for members with active accounts. Please sign in or sign up to post. Our mission is to bring affordable, technology education to people everywhere, in order to help them achieve their dreams and change the world. Our Company About Us Contact Us Community Treehouse Stories Student Perks Treehouse Blog Affiliate Program Careers Topics HTML CSS Design JavaScript Ruby PHP WordPress iOS Android Development Tools Business Tracks Web Design Web Development Rails Development PHP Development iOS Development Android Development WordPress Development Starting a Business Treehouse Blog About Treehouse Privacy Policy Terms & Conditions © 2016 Treehouse Island, Inc. Sign in Email Address Password I forgot my password Sign in