Re: Finding source of EXC_BREAKPOINT crash
Re: Finding source of EXC_BREAKPOINT crash
- Subject: Re: Finding source of EXC_BREAKPOINT crash
- From: Ben <email@hidden>
- Date: Wed, 1 Sep 2010 08:25:49 +0100
On 31 Aug 2010, at 20:12, Wim Lewis wrote:
>
> On Aug 30, 2010, at 7:10 AM, Ben wrote:
>> My app is built with a base SDK and deployment target of 10.5, but will only run on 10.6 systems. On 10.5 systems it crashes on launch with an EXC_BREAKPOINT and the following message:
>>
>> Dyld Error Message:
>> unknown required load command 0x80000022
>
>
> That's LC_DYLD_INFO_ONLY, which I believe is created by the final linking step (it's a compressed version of information that's stored differently pre-10.6).
>
> If DYLD_PRINT_LIBRARIES doesn't tell you where the problem is, you can also examine the various binaries with "otool -l" and grep for LC_DYLD_INFO. (Probably need to examine them on a 10.6 system for otool to know the name of that load command.)
Thank you to Greg, Mark and Wim. I've learned a lot about dyld and otool over the last 24 hours. Unfortunately, the solution was depressingly simple.
For some reason, my install of Xcode no longer shows the active SDK in the Overview toolbar item. Last night the following two tweets appeared in my timeline:http://twitter.com/boredzo/status/22638065242 and http://twitter.com/threeve/status/22639341785
Option clicking the Overview button now brings up the active SDK, which was set to 10.6. Setting that to 10.5 (the Base SDK) made the app build just fine. For the life of me I don't know why this isn't shown by default any more, but at least the problem is solved.
Thanks again for your help. It was interesting stuff to learn in any case._______________________________________________
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