You'll notice that you need to provide an SDLmain file instead of
linking to it, and you must link to Cocoa (because SDL is Cocoa based
on OS X). You can find SDLmain.h and SDLmain.m using the Xcode SDL
templates. Start Xcode and start a new "SDL Application" project (or
SDL OpenGL Application). You will notice that it already includes
those two files. If you bypass the SDL template, you must always
remember to copy these files into your project.
There is no sdl-config script for the framework version of SDL. You
can alternatively build SDL using configure/make or grab from Fink
which is an approach some people coming from other Unix platforms feel
more comfortable with. I personally think the framework system is
better, especially when you try running you binaries on another
machine (e.g. testing/deployment). You can easily embed the frameworks
into your application bundle, and do a drag and drop installation,
which is one of the advantages of the Mac operating system in my
opinion.