Resolved app crash from [descriptionWithLocale] call

Discussion in 'iOS Programming' started by straber, Jul 17, 2012.

  1. straber, Jul 17, 2012
    Last edited: Jul 17, 2012

    straber macrumors member

    Jul 3, 2012
    I just made a few changes to an app, nothing big, then hit run to test it but before the app finishes loading it crashes with the message:

    'NSInvalidArgumentException', reason: '-[FFSViewController descriptionWithLocale:]: unrecognized selector sent to instance

    I've searched every one of my source files and 'descriptionWithLocale' doesn't appear once and I can't figure out what would be calling this on my viewController.

    Has anyone seen this or have any idea what might have caused this?

  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    See this. And the latter part of this.

    Search the forum archives for unrecognized selector, limiting the search to the Programming forums (Mac and iOS).

    Run your program with zombies enabled.

    Perform a static analysis of your program in Xcode (might be called Build and Analyze).
  3. straber thread starter macrumors member

    Jul 3, 2012
    Thanks, I have no idea what the problem was, maybe some sort of glitch.

    All I ended up doing was comment out all the changes I made. Ran it and it ran fine. Then one by one I uncommented them to find the culprit, but eventually I had uncommented all of them and it ran fine.

    I have no clue what happened.

Share This Page