Re: Unrecognized selector in release build, not in debug build
Re: Unrecognized selector in release build, not in debug build
- Subject: Re: Unrecognized selector in release build, not in debug build
- From: Rick Mann <email@hidden>
- Date: Wed, 10 Jul 2013 13:25:00 -0700
On Jul 10, 2013, at 12:53 , "Gary L. Wade" <email@hidden> wrote:
> Is it possible you've got an array controller (or other related object)
> that got over-released and a pointer for it is now pointing at something
> else? Or maybe you were converting from a pre-NSObjectController code base
> (using a subclass of NSObject like in the "old" days) to
> NSObjectController or its related subclasses and something didn't get
> converted over or compiled right for your release build?
Thanks, Gary. I did eventually find it. It was one of those a-ha! moments. I remembered I had some release-only code that did, in fact, try to remove an object from an immutable array. Kicking myself because I distinctly remember thinking as I wrote it to get a mutable copy first, which I failed to do.
A combination of bad debugging info and broken search made it very hard to find.
--
Rick
_______________________________________________
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