Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

noahgolm

macrumors member
Original poster
Aug 18, 2010
65
0
Hi, I have a major problem with Xcode. Whenever I try to install and debug any app on xcode, the app crashes with the console saying "Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Argument must be non-nil'". After it crashes, however, the app will work just fine. That is until I actually have a problem with the game. It is probably memory management, but I do need the console, here.
 
Examples don't work, and I'm not sure how to find a backtrace. I'm still googling tutorials for learning cocoa (it shows how much I know about programming).
 
Maybe some more details on your dev environment might help: Xcode version, OS X version, basic hardware, etc.

If you create a new project, based on a template, and Build and Run, it still crashes? If so, bring up the Debugger (Run > Debugger). Any clues from that?
 
Weird... Suddenly the simulator works! Maybe it's because I wasn't having the debugger screen up when I built and ran it. Anyway, I also found the bug. Thanks. I'll update the thread if there are any more problems! Thanks for your responses!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.