Xcode 4.0 framework build

Hi,
I noticed when trying to build SDL as a framework with Xcode 4.0, the
project in
the repository is slightly invalid. It appears Apple have dumped support for

GCC 4.0,(for GCC 4.2), and they have removed the 10.4 and 10.5 sdks from the
default install. It’s easy enough to go into the project and fix it to work
with the
10.6 sdk, but it seems like there needs to be separate project files for
Xcode 3.0 and 4.0. I think this is Apple’s subtle way of trying to phase out
support
for PPC,(sigh).
Cheers, Darcy

Hi,On 2011-04-08 3:02 AM, Darcy Rayner wrote:

I noticed when trying to build SDL as a framework
I can only recommend the hacky way. Build a dylib and rewrite your
executable with install_name_tool or whatever that thing is called.

I wrote this script which I as a CMake post-build hook:

Regards,
Armin