To compile Cog, simply open the Cog xcode project and build it.
If you have any problems, email me at vspader@users.sourceforge.net