[SOLVED] Re: Mystery of the missing symbol
[SOLVED] Re: Mystery of the missing symbol
- Subject: [SOLVED] Re: Mystery of the missing symbol
- From: Graham Cox <email@hidden>
- Date: Mon, 03 Oct 2011 13:23:30 +1100
On 03/10/2011, at 12:52 PM, Ken Thomases wrote:
> On Oct 2, 2011, at 7:50 PM, Graham Cox wrote:
>
>> With a deployment target of 10.5, shouldn't the linker or compiler complain at some point?
>
> No, that's not something that the deployment target affects. The whole point of specifying one version via the SDK but an earlier version via deployment target is that you can use the features of the later version corresponding to the SDK _if you detect at runtime that they're actually available_.
Ah, makes sense.
I'm not sure how to perform such a check at runtime for this particular case (blocks available), but using nm I managed to locate the file that was linking to __NSConcreteStackBlock and on inspection, turns out I was using an isolated completion block for an animation. It does almost nothing useful however, so I removed it and solved the issue, for no loss of functionality in practice.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden