Symbolicating iPhone App Crash Reports

后端 未结 25 2565
迷失自我
迷失自我 2020-11-21 05:38

I\'m looking to try and symbolicate my iPhone app\'s crash reports.

I retrieved the crash reports from iTunes Connect. I have the application binary that I submitted

25条回答
  •  难免孤独
    2020-11-21 05:54

    I use Airbrake in my apps, which does a fairly good job of remote error logging.

    Here's how I symbolicate them with atos if the backtrace needs it:

    1. In Xcode (4.2) go to the organizer, right click on the archive from which the .ipa file was generated.

    2. In Terminal, cd into the xcarchive for instance MyCoolApp 10-27-11 1.30 PM.xcarchive

    3. Enter the following atos -arch armv7 -o 'MyCoolApp.app'/'MyCoolApp' (don't forget the single quotes)

    4. I don't include my symbol in that call. What you get is a block cursor on an empty line.

    5. Then I copy/paste my symbol code at that block cursor and press enter. You'll see something like:

      -[MyCoolVC dealloc] (in MyCoolApp) (MyCoolVC.m:34)

    6. You're back to a block cursor and you can paste in other symbols.

    Being able to go through your backtrace one item without re-entering the first bit is a nice time saver.

    Enjoy!

提交回复
热议问题