A compatible FPC (and source) must be installed before you install Lazarus.
Note: For installation on Apple Silicon/AArch64, after installing the 64 bit Intel binary and source for FPC, please refer to these instructions for building a native Apple Silicon Free Pascal Compiler.Äownload and install the Free Pascal Compiler (FPC) binaries and the separate source package. So I moved mine and then told xcode-select where it was moved to (in a terminal). Other users will see the path to it but be unable to use it. You may be happy with it there but maybe not. It is unarchived into your Downloads directory. Download the Xcode file, it will end up in your Downloads directory as a zip file. The Xcode developer tools can be installed from the original macOS installation disks or a newer copy downloaded from the Apple Developer Connection (ADC), which requires free registration. Open an Applications > Utilities > Terminal and type man xcode-select for this utility's manual page. You can then select which version of Xcode to use with the command line utility xcode-select. Note that you must first move any old Xcode versions from the Applications folder into the trash or rename the Xcode app (eg Xcode.app to Xcode_1014.app). Xcode 12.4.x for use on macOS 10.15 Catalina and macOS 11 Big Sur can be installed from the Mac App store. Xcode 11.3.1 for use on macOS 10.14 Mojave must now be installed by downloading it from Apple Developer Connection (ADC), which requires free registration.
You only need to download and install the full Xcode development environment if you need: Xcode is a 12GB download which will take up 16GB of disk space.
Carbon was intentionally limited to 32 bits by Apple and you should be aware that it and the ability to run 32 bit executables have been removed completely from macOS 10.15 Catalina and later versions which now only support 64 bit executables using Cocoa. While Carbon was once seen as a little more stable, with the release Lazarus 2.0.8 the 64 bit Cocoa Widget Set has now surpassed Carbon and should be considered seriously for any new projects. In general, this is about using both the Carbon and Cocoa Widget Sets. You can assist by replacing out of date information, either deleting it, or, if it may help someone working with a legacy project, moving it to the legacy information page. On the Legacy Information page, you will see older information that may be relevant if you are using older components. The detailed instructions assume a recent version of macOS on your Mac, a recent version of Xcode from Apple and a recent version of Lazarus.