Sign in to follow this  

SDL, MacOSX, Universal Apps, Problem!

This topic is 4258 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok so Im nearly finished with my Tetris game in SDL. Ive been working with XCode and Mac OS X on an Intel iMac to make this game. My problem comes from the fact that the app will not compile as a universal binary. It only compiles to Intel even though I tell it to compile ppc and i386. Im using the latest SDL Framework and latest SDL_Mixer framework. [Edited by - Cubed3 on April 15, 2006 12:51:22 PM]

Share this post


Link to post
Share on other sites
Open your project in XCode, and 'Get Info' on the project itself (not the target, so the topmost entry in 'groups and files'). Somewhere in the Get Info window is a dropdown menu labeled 'Target SDK' or similar, and change this to '10.4 Universal' (something like that anyway, not at my Mac this minute), and that should do the trick.
Of course, this pre-supposes that you installed the Universal SDK when you installed the devel tools [smile]

Share this post


Link to post
Share on other sites
I've never tried to create a universal binary, but I thought it was just as simple as going to "Get Info" on the project file, and under the General Tab, setting the target platform as 10.4 Universal.

What do you mean it "compiles to Intel" even though you tell it to compile "ppc and i386." Are two binaries supposed to show up? I thought for some reason only one binary showed up, which could run on either platform.

I dunno. I haven't read up much on it.

Share this post


Link to post
Share on other sites
Well I've done all that, setting priject settings to use Mac OS X.4(Universal) and setting the architecture to i386/ppc however when I do getinfo on the compiled .app file It says Falling Blocks.app (Intel)...

Universal apps say (Universal)

Its weird and annoying :-/

Share this post


Link to post
Share on other sites

This topic is 4258 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this