Re: Universal Binary Wont Run on 10.3.9
Re: Universal Binary Wont Run on 10.3.9
- Subject: Re: Universal Binary Wont Run on 10.3.9
- From: Kenny Leung <email@hidden>
- Date: Wed, 12 Apr 2006 18:54:12 -0700
Wow - a space-time anomaly in the Binary Universe.
-Kenny
On Apr 12, 2006, at 6:48 PM, Chris Parker wrote:
On Apr 12, 2006, at 6:42 PM, Perry Clarke wrote:
I've rebuilt my app as a universal binary and nailed all the
endian problems so it works like a champ on both Intel and PPC on
10.4.
However, when I try to run it on 10.3.9 I get:
dyld: AppName.app/Contents/MacOS/AppName Undefined symbols:
AppName.app/Contents/MacOS/AppName undefined reference
to .objc_class_name_NSAffineTransform expected to be defined in
Foundation
Just NSAffineTransform, nothing else. If I comment out the code
that references it the application runs just fine (the
NSAffineTranform piece is a tiny percentage of the total
application so the remainder isn't trivial).
Since after much searching I can't find anyone else with a similar
problem I'm seeking suggestions of what to look at next.
In Tiger, NSAffineTransform moved from the AppKit into Foundation
for the benefit of some other bits on the system. When you take
your 10.4-developed Universal Binary back to Panther, your binary
expects to find NSAffineTransform in Foundation and it doesn't find
it.
If your requirements are such that your application will have to
run back to 10.3 on PowerPC-based Macintoshes, you'll have to build
your PowerPC binary against the 10.3 SDK, the Intel binary against
the 10.4 SDK, and then lipo the two halves together.
This is true whether you're using Foundation or not, by the way...
The binary -is- universal. It just depends on how big your universe
is. :) Or at least, how far back in time you wish to go...
.chris
--
Chris Parker
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40pobox.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden