iOS App terminates but does not generate Crash Report

The app exits immediately on startup, there is no crash message, and I can't get any valuable diagnostic information. It doesn't even get to the main function. It feels like exit is being called somewhere, and then I used atexit to register the relevant handler. Finally, I found the following stack printout It looks like it's a dynamic linking issue, so what's the best way to troubleshoot it. This problem only occurs in release versions.

This is an iOS app, right?

Where does that Usage string come from? It looks like something in the main executable of your app is looking at the program arguments, not finding what it likes, and then calling exit.

This problem only occurs in release versions.

That can mean two different things:

  • Distribution code signing

  • The Release build configuration

My Isolating Code Signing Problems from Build Problems post explains how to separate these.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

iOS App terminates but does not generate Crash Report
 
 
Q