problem with my project. grrr.

1 view
Skip to first unread message

Zeller, Tom S

unread,
Oct 22, 2010, 2:59:51 PM10/22/10
to AppleAppDev AppleAppDev
I made a typo a long time ago and it is still haunting me.  I blew away (I think) all the files for the project and started over, retyping all the stuff in ch 2.

When I run the app in the emulator it crashes and the console says:

2010-10-22 14:55:50.835 Quiz[1745:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QuizAppDelegate showQuestin:]: unrecognized 


Where "showQuestin" was the typo.  I swear there is no questin anywhere in the code.  I've looked and looked.  I've searched.  Maybe my neurons are overlooking it, but I don't think so.  


Any ideas as to where this might be coming from?

Eric Isaacson

unread,
Oct 22, 2010, 3:08:36 PM10/22/10
to iphone_...@googlegroups.com
If I were in your shoes, I'd drop into terminal mode, cd to the
directory where all the source files are, and grep the string.

Or maybe somewhere XCode has a "find this string within my project"
function? Or maybe OS X has such a function?

Zeller, Tom S

unread,
Oct 22, 2010, 3:15:06 PM10/22/10
to AppleAppDev AppleAppDev
In interface builder I saw a reference to the typo and deleted it and had
to reconnection the button to the responder and the app works now. I'm
still now sure where that "thing" was living. But the ghost is gone.

Eric Isaacson

unread,
Oct 22, 2010, 3:19:37 PM10/22/10
to iphone_...@googlegroups.com
Yeah, the way I understand it is, Interface Builder generates a big
wad of convoluted code behind your back. This was a good problem to
hear about, as I'm sure we'll all do something similar, sooner or
later.
Reply all
Reply to author
Forward
0 new messages