![]() ![]() This error can happen when your version of Xcode needs to be updated as it been outdated by a semi or major update. You may also need to restart your mac and device in order to correctly detect compatibility. This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. Make sure you install any outstanding MacOS updates and then run: xcode-select -installįailed to prepare device for development. Sometimes it will also give you the error: missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun This error usually happens whenever there is a semi or major update on MacOS. Change the path to match the new location: xcode-select -s /Applications/Xcode.app/Contents/DeveloperĮrror: invalid active developer path (/library/Developer/CommandLineTools) If you have multiple versions or need to adjust the path, you can switch it using the following command. If your Xcode installation has been incorrectly set, you can reset it to the default using the following command: sudo xcode-select -r Applications/Xcode.app/Contents/Developer You can run xcode-select -p to print out the installation location of Xcode: xcode-select -p Simply click the version you want to open or manage. You can install it via Homebrew using the following command: brew install -cask xcodes ![]() This is something similar, but for Xcode. There is an excellent tool called Xcodes. Surely, you have heard of NVM (Node version manager) or RVM (Ruby version manager). How to install multiple versions of Xcode Unfortunately Apple doesn’t allow older, unmaintained versions of Xcode to persist and this is a common annoyance as major versions are released. ![]() Simply update Xcode to the latest version using the xcode-select -install command and it will be resolved. Apple provides a complete development environment for programmers named Xcode. When running a homebrew brew command, you may see errors related to the version of Xcode you have installed. Daniel Kehoe Developers need to install Xcode Command Line Tools before they can develop software on a Mac. Please update to Xcode 14.1 (or delete it). How to update your Xcode installation when using Homebrew Error: Your Xcode (13.4.1) is too outdated. You can install Xcode on a Mac by running the following command in the terminal: xcode-select -install ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |