deluxela.blogg.se

Installing xcode
Installing xcode




installing xcode

Launch the App Store on your macOS system, enter Xcode into the search box, and click on the Get button to initiate the installation. The best way to obtain the latest Xcode and iOS SDK versions is to download them from the Apple Mac App Store. I just want my iMac to act like my MacBook :( I rather not have to manually set my command line toolchain everytime I update to a new Xcode.If the “About This Mac” dialog indicates that an older macOS is installed, click on the More Info… button to display the System Settings dialog, followed by the General -> Software Update option to check for operating system upgrade availability. Xcode-select: error: command line tools are already installed, use "Software Update" to install updates ), to point to an alternate toolchain.Īgain, how to reset my iMac toolchain state to the default behavior so that my command line toolchain is at /Library/Developer/CommandLineTools and updated to 5.2 (from inside my Xcode.app)? (or set that inside Xcode Prefs, Location. I want the system default at /Library/Developer/CommandLineTools updated to the latest 5.2, not use xcode-select -s. Try on the command line, run xcode-select -p, the result points to you copy of Xcode.app, not /Library/Developer/CommandLineTools. So this "fix" in Xcode Preference Locations, Command Line Tools, and choosing Xcode 14 (11E146) is just doing the same as xcode-select -s.

installing xcode

The result is exactly the same as I manually run " xcode-select -s ~/Applications/Xcode.app": the command line toolchain is just pointing to my Xcode location. Re-open Xcode, open Xcode Preferences Locations, Command Line Tools, it's now empty, then I choose "Xcode 14 (11E146)", Xcode then ask admin password to install, just like it did when I first install new version and run it. So I quit Xcode, went on the command line, run xcode-select -r to reset back to system default. Since I already ran " xcode-select -s ~/Applications/Xcode.app", when I went to look at Xcode Preferences Locations, Command Line Tools, it's already pointing at " Xcode 14 (11E146)".

installing xcode

"fixed" it by going into Preferences for Xcode, Locations, Command Line Tools, and choosing Xcode 14 (11E146)






Installing xcode