how to remove command line tools frameworks

Hi,


I'd like to remove the command line tools, including the frameworks that were installed with.


The reason of this is that I had first installed the command line tools, but I since installed Xcode. I've build some stuff with Xcode using the 10.11 SDK (including the NSArray class with generics which were added in the 10.11 version).

The problem is that I need to build this with clang++, and when I do this, the framework header which is used is that of the command line tools installation which is that of 10.10 SDK.


Important point : I'm using Mac Os X Yosemite.


Can anybody tell me how to uninstall/remove all the command line tools stuff, including the frameworks ?

Did you check your Xcode settings for which CLT version to use?


/Preferences.../Locations~Locations/Command Line Tools:



...that will also show you where they are in the Finder by clicking the small arrow to follow the path (inside whichever Xcode-the-application you're currently linked to) - I don't think you have to delete anything, maybe, just link to the set you want now.

Run the "xcode-select" command and make sure it is pointing at the correct version of Xcode. If necessary use the -s command to switch to a newer Xcode. That should get you the latest (although if you are on Yosemite, the command line tools may always use the 10.10 SDK, I haven't tried that configuration myself).

xcode-select gives the right path (/Applications/Xcode.app/Contents/Developer).

My problem is not the command line tools, but the frameworks that are delivered with.

how to remove command line tools frameworks
 
 
Q