Failed to install Free Pascal 2.6.0 on OS X 10.7.3 with Xcode 4.3
I am trying to install Free Pascal 2.6.0 on a Mac with OSX 10.7.3 and XCode 4.3 (for use in Delphi XE2 Update 4). The installer for Free Pascal does not allow itself to be installed on my hard drive. An error message is displayed:
"Free Pascal Compiler 2.6.0 cannot be installed on this disk. Before installing this package, you need to install the Mac OS X Development Tools (Xcode). When installing XCode 3.x or 4.x, make sure to install UNIX Development Support (it is installed by default, but you can remove it).
I have Xcode installed and running. When I installed Xcode (via the Mac App Store) it didn't have any option (and dialog) to deselect UNIX.
While looking for a solution, I found someone with a similar problem. In this case, uninstalling and reinstalling Xcode fixed the issue. However, I don't know how to uninstall Xcode. I cannot find "uninstall-devtools".
Any idea how to fix this problem?
source to share