Search code examples
delphixcode4installationdelphi-xe2freepascal

Unable 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 running OSX 10.7.3 and XCode 4.3 (to be used by Delphi XE2 Update 4). The installer for Free Pascal does not allows to install itself to my hard drive. The error message displayed:

"Free Pascal Compiler 2.6.0 can't be installed on this disk. You have to install the Mac OS X developer tools (Xcode) before installing this package. When installing XCode 3.x or 4.x, make sure to install support for UNIX development (it is installed by default, but you can uncheck it)."

I do have Xcode installed and running. When I installed Xcode (through the Mac App Store) it did not showed any option (and dialog) to deselect UNIX development.

While searching for solution I found someone with a similar problem. In that case uninstalling and reinstalling Xcode resolved the issue. However I don't know how to uninstall Xcode. I can not find "uninstall-devtools".

Any idea how to resolve this issue?


Solution

  • I don't have it here, but IIRC, the notes that come with update 4 say that you can only use Firemonkey for iOS and FPC with Xcode 4.2, not with 4.3. So I guess your only chance is to install 4.2 again. AFAIK, it is possible to have both 4.2 and 4.3 on the same machine.