Макинтош и образование

Free Pascal for Xcode 2.2

Article from Macintosh and Education site



Xcode is an integrated development environment which is part of the Apple developer tools, and it is included for free with Mac OS X 10.3 and newer. Xcode is ready for the development in Assembler, C, C++, Objective-C, Java and AppleScript out of the box.

It is possible to use Free Pascal from within XCode. Thanks to Rolf Jansen and his Free Pascal for Xcode Integration Kit.

Unfortunately, this does ONLY work for Xcode up to version 2.0, but this does NOT work for Xcode version 2.1 and 2.2

Good news! We can now use Free Pascal with XCode 2.2. You need only some project template changes... Or you can download the changed templates from this site.

Free Pascal for Xcode 2.2 installation

  1. Download and install the latest FPC for Mac OS X package from FreePascal.org
  2. Download Apples Universal Interfaces
  3. Download the FreePascal for Xcode Integration Kit
  4. Mount Apples Universal Interfaces disk image.
  5. Install FreePascal for Xcode Integration Kit
  6. Download and unzip the changed templates
  7. Open /Library/Application Support/Apple/Developer Tools/Project Templates/Pascal folder
  8. Put the changed template into this folder (overwrite old one)

It's all!