• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unrecognized selector in release build, not in debug build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Unrecognized selector in release build, not in debug build (From: "Gary L. Wade" <email@hidden>)

  • Prev by Date: Re: Unrecognized selector in release build, not in debug build
  • Next by Date: MODERATOR NOTE: Re: NSOutlineViews and Mountain Lion
  • Previous by thread: Re: Unrecognized selector in release build, not in debug build
  • Next by thread: Re: Unrecognized selector in release build, not in debug build
  • Index(es):
    • Date
    • Thread