Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

amudham

macrumors newbie
Original poster
Apr 15, 2009
16
0
error: Mac OS X version 10.5 or later is needed for zerocost-exception.

How to fix this issue? I want my application to run on both 10.4 and 10.5.

Thanks in advance.
 

Catfish_Man

macrumors 68030
Sep 13, 2001
2,579
2
Portland, OR
It sounds like you're building 64 bit. If so, you need to change the deployment target, but only for the 64 bit part of the build (so you end up with 32 bit targeting 10.4 and 64 bit targeting 10.5).
 

amudham

macrumors newbie
Original poster
Apr 15, 2009
16
0
It sounds like you're building 64 bit. If so, you need to change the deployment target, but only for the 64 bit part of the build (so you end up with 32 bit targeting 10.4 and 64 bit targeting 10.5).

So it will end up with 2 different binaries, one for 32 and one for 64 right?
If so, is there a way to have a single binary which fix this issue?
 

Catfish_Man

macrumors 68030
Sep 13, 2001
2,579
2
Portland, OR
You'll end up with three or four binaries*, typically, merged together into one. This is called a universal binary, and is the standard way of doing things on OSX.

*x86, x86-64, powerpc, and (maybe) powerpc64
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.