What's the quickest way to force an iOS app to crash?

crash-reports, flurry, ios, objective-c

Solution

@throw NSInternalInconsistencyException;

Problem

I'm trying to test my crash analytics. I didn't realize how hard it is to make an app crash at will. it seems so simple mid-programming. Does anybody have a suggestion as to how i'd force my app to crash? And i don't mean a little "memory error" crash, i mean the phone doesn't know what to do with itself. I need it to at the very least enter into the device logs as a crash, in Xcode's organizer. Any suggestions?

Original source

Related problems