With these changes, all empty directories and orphaned symlinks originally installed with the -compilers option are removed on uninstall. This also preserves the LLVM-GCC files that shipped with Xcode 4, and removes the gcc -> clang symlink. I tested that /usr/bin, /Applications/Xcode.app/Contents/Developer/usr, and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr are restored to their original state when the uninstall is run on OS X 10.6 through 10.11 with the latest Xcode for each.
With these changes, all empty directories and orphaned symlinks originally installed with the
-compilers
option are removed on uninstall. This also preserves the LLVM-GCC files that shipped with Xcode 4, and removes thegcc -> clang
symlink. I tested that/usr/bin
,/Applications/Xcode.app/Contents/Developer/usr
, and/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr
are restored to their original state when the uninstall is run on OS X 10.6 through 10.11 with the latest Xcode for each.