The Allegro Wiki is migrating to github at https://github.com/liballeg/allegro_wiki/wiki
Xcode is a suite of tools for developing software on Mac OS X, developed by Apple. The main application of the suite is the integrated development environment (IDE), also named Xcode. The Xcode suite also includes most of Apple's developer documentation, and Interface Builder, an application used to construct graphical interfaces.
Xcode is bundled free with Mac OS X, though it is not installed by default.
Install allegro using MacPorts and make sure that your MacPorts is updated (tested with allegro @126.96.36.199).
sudo port install allegro
Create a new project
Choose Command Line Tool and Type: C.
Edit your Project Settings
Change these configurations in your Build:
Other Linker Flags
-framework Cocoa -lalleg-main -lalleg
Header Search Paths *Not recursive
Library Search Paths *Not recursive