I'm trying to get the SDL example code for XCode working on my Snow Leopard machine, however every time I attempt to build I receive this error: "ld: warning: in /Users/me/Dropbox/Programming/Obj C/Space/SDL.framework/SDL, missing required architecture x86_64 in file" Originally it was to "/Library/Frameworks/..." but I have copied the entire SDL.framework into my project and linked to it, however the error persists.
This is a known problem with the pre-built binaries from the SDL homepage. You need to compile SDL yourself to get it to work.
The simplest way to do this is to use Homebrew. You can install Homebrew with a single command from the Terminal. After that, run
brew install sdl
and you should be good to go.