• 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: Jens Alfke <email@hidden>
  • Date: Tue, 09 Jul 2013 18:46:09 -0700

On Jul 9, 2013, at 6:39 PM, Rick Mann <email@hidden> wrote:

> It only happens in release builds, and the call stack shown in Xcode while debugging shows no source. I can't figure out where the call is:
>
> #0	0x39f9f960 in objc_exception_throw ()
> #1	0x320fee06 in -[NSObject(NSObject) doesNotRecognizeSelector:] ()

What’s frame #2? That’s the code that’s sending -removeObject:. The frames you listed are just the ones raising the exception.

> I tried putting a symbolic breakpoint on -[__NSArrayI removeObject:], but it doesn't stop any earlier. I don't actually call remove-anything in my code anywhere.

Well, there’s no such method — that’s exactly what that exception means — so it’s not surprising that you can’t set a breakpoint on it :)

—Jens
_______________________________________________

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


  • Follow-Ups:
    • Re: Unrecognized selector in release build, not in debug build
      • From: Rick Mann <email@hidden>
References: 
 >Unrecognized selector in release build, not in debug build (From: Rick Mann <email@hidden>)

  • Prev by Date: Unrecognized selector in release build, not in debug build
  • Next by Date: Re: Unrecognized selector in release build, not in debug build
  • Previous by thread: 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