This would bring it to the initial state. Xcode-select: error: unable to get active developer directory, use sudo xcode-select -switch path/to/Xcode.app to set one (or see man xcode-select) Once you reset the path and run xcode-select -p, it gives an error This can be checked by runningĮven if we remove the directory, system would go and check there. When command line tools are installed, the path for command line tools is set to "/Library/Developer/CommandLineTools". Reset to default command line tools by running.Delete /Library/Developer/CommandLineTools directory (as mentioned above).I would like to find a proper solution to this. I can of course bypass that and delete them to see if it works, but I don't want to do that "just to see". Those I can't delete though due to the system security. I did however find them after a lot of searching in /System/Library/Receipts. Forgetting them does not work however as the bom are neither in /var/db/receipts or /Library/Receipts (the pkgutil -forget essentially fails because of this). I started to suspect that the fact that pkgutil shows some CLTools-packages might be the cause of this. I tried editing the updatejournal file, but that didn't help, so I've since restored it. I've been trying to properly understand where AppStore looks to figure out what needs updating, but I haven't been able to find a certain answer yet. However, AppStore still shows updates from the CLI tools, which obviously I don't want. I have deleted the Xcode Command Line Tools from my machine by essentially removing the folder.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |