Open a new terminal window and your development tools should be returned.Īddition: With any major or semi-major update you'll need to update the command line tools in order to get them functioning properly again. You will then be prompted in a window to update Xcode Command Line tools. You'll then receive the following output: xcode-select: note: install requested for command line developer tools Go back to your terminal and enter: xcode-select -install PREVIOUS YEARS SOLUTIONS, probably #2 is most helpful. Solutions for previous years, these may or may not be valid these days as the downloads page has changed significantly: Rebooting will break the loop and complete the installation of your CLI tools including git so that you can get back to work You have to either download the tools from CLI or the developer page and before you can use git, you need to reboot!!! SUPER IMPORTANT, you can get stuck in a loop of downloading But stable releases are probably the best choice. Then select "Command Line Tools for Xcode 14", or if you want to get into the alphas or betas, that's up to you. "Command Line Tools for Xcode 14" (You have to log in with your Apple ID and enter MFA code, so have all the devices you need for that handy. I followed my own advice from previous years (see below ), and went to and downloaded Then I tried to use git after the install, and it prompted me to install Xcode tools again. Just be careful on scrolling down and enter agree and press return and it will launch into an update. Use sudo xcodebuild -license to get to it again. So press space until you get to the option, so careful hit space to scroll down to the end, if you blow past It you have to run a command to get it back. ** UPDATED for Ventura and updated apple dev download page **Īfter opening the terminal after a restart, I tried to go to my code, and do a git status, and I got an error and prompt for command line software agreement. The problem is that Xcode Command-line Tools needs to be updated due to OS update.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |