Re: Problem running on 10.3 when building with Xcode 3.0: NSAffineTransform not found in Foundation
Re: Problem running on 10.3 when building with Xcode 3.0: NSAffineTransform not found in Foundation
- Subject: Re: Problem running on 10.3 when building with Xcode 3.0: NSAffineTransform not found in Foundation
- From: Chris Suter <email@hidden>
- Date: Fri, 21 Dec 2007 07:05:47 +1100
On 21/12/2007, at 4:00 AM, Chris Espinosa wrote:
On Dec 20, 2007, at 2:40 AM, Chris Suter wrote:
I've got a problem running on 10.3 where it's failing to run
because it complains that NSAffineTransform cannot be found by
dyld (it's expecting to find it in Foundation). On 10.3
NSAffineTransform is actually in AppKit so it has a fair point,
but it was working fine when I built it with earlier versions of
Xcode.
I'm guessing it used to work fine because the symbol was being
lazily bound (presumably it doesn't mind that the symbol is in
AppKit rather than Foundation when lazily binding). The Leopard
linker, for some reason, isn't marking the symbol to be lazily
bound. That's the only difference I've found so far.
Can anyone offer me some help with this? I'm looking for a
workaround. I haven't filed a bug yet but I will do tomorrow.
In earlier versions of Xcode, the default for Mac OS X Deployment
Target was something absurdly low like 10.1 or 10.2. In Leopard
it's the current system, which is 10.5. So projects that
previously built without an explicit Mac OS X Deployment Target
setting would have worked on 10.3 but now won't, and you need to
explicitly set that value in the target's build settings.
No, it's not that. That's one of the first things I checked.
As I said, I believe it has something to do with lazy binding as
that's the only difference I can see. I don't understand (yet) why
and how some symbols are marked to be bound lazily whilst others aren't.
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden