Xcode

This is an old revision of Xcode, edited by Skalogryz at . The current revision is 110771.

/* Xcode 7.0 */

Xcode (not XCode) is a unified Apple IDE for OSX and iOS development.

It must be installed on OS X (not OSX) in order to get all build utils, which FPC depends on.

Xcode 5.0

Apple removed "gdb" from it's binary utils. Lazarus is currently only able to use "gdb" as an external debugger. "Gdb" should be installed from the third party.

Xcode 7.0

  1. Open Project -> Project Inspector. For each package listed under "Required Packages", double-click on a package (to open package dialog), select "Options" and change debug info type under "Debugging" section
  2. You can add the setting as a custom option for all packages used in the project. But instead of using "-dSomeValue" put "-gw"
# sudo xcode-select -switch /Applications/Xcode6.4.app

See Also