I experimented a similar problem few days ago using the xcode project. Here are the steps I ran into (with * when I encountered a problem)
-1*- I had to run ./autogen.sh from the commend line even if it’s not said in the README.MacOSX (still at version 1.2)
-2- I ran ./configure.sh from the command line
-3*- I decided to build from xcode in spite of using “make” but got a “redefinition of PFNGLXCREATECONTEXTATTRIBSARBPROC” (SDL_x11opengl.c and glext.h)
If I remove the typedef from the .c building the deployment/development_native_only targets work but not the other targets I get a “PFNGLXCREATECONTEXTATTRIBSARBPROC undeclared”
Anyway, with the working ‘development_native_only’ framework I could test the framework with my project.
-4*- I had first to add 2 of the new headers as public otherwise they are not copied in the framework (and are missing when I include other headers from my project). The headers are SDL_blendmode.h and SDL_scalemode.h. I drag&dropped them from SDL/include to the ‘Public Headers’ xcode folder. added them to the framework target and then after selecting them I changed their Role from ‘project’ to ‘public’
-6- Now things are getting better. I have the right mouse button working on mac os x (thank you SAM !) but I experiment few difficulties with the mac touchpad.
Everything works fine with a real mouse but when I’m away from my desk and try to test my code with the touchpad
-6a- very few SDL_MOUSEMOTION events occur (there are some but most of them are now SDL_FINGERMOTION). It is strange because the mouse cursor moves so I expected mouse event as well as touch events => I could fix it by also listening SDL_FINGERMOTION
-6b- SDL_MOUSEBUTTONUP and SDL_MOUSEBUTTONDOWN are also meesed up. I receive both mouse and corresponding gesture event but with a BIG delay (around 1 second). The worst thing is if I move the touchpad after the button click the delayed mousePress event occurs where the cursors moved after the click !