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: Tue, 09 Jul 2013 21:04:31 -0700
Light-bulb.
First, Xcode's project-wide search is returning only one instance of "remove" for a Textual-contain-search-term-case-insensitive search. Grep returns hundreds.
Second, I just remembered some release-only code I wrote that does, in fact, try to remove from an array, and I forgot to add the -mutableCopy to the array I was starting with.
I'm so dumb. But Xcode didn't help with its broken search.
Thanks for the suggestions! Really appreciate it.
On Jul 9, 2013, at 19:50 , Jens Alfke <email@hidden> wrote:
>
> On Jul 9, 2013, at 7:08 PM, Charles Srstka <email@hidden> wrote:
>
>> Have you tried putting a breakpoint on objc_exception_throw
>
> +1. That’s vital in any project. In Xcode 4 you can easily do this by just going into the breakpoints tab and pressing the little “+” button at the bottom.
>
>> or -[NSObject doesNotRecognizeSelector:] ?
>
> That probably wouldn’t give any different results in this case; it would just get it an instant earlier. But it’s worth a try.
>
> —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
--
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