PDA

View Full Version : Zerocost-exception




amudham
Apr 17, 2009, 12:06 AM
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
Apr 17, 2009, 01:23 AM
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
Apr 17, 2009, 05:07 AM
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
Apr 17, 2009, 02:01 PM
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