IPhone application crash

IPhone app crash - enter hexadecimal addresses into a valid function namespace (call stack)

Listing Requirements: Symbolizing Failures

  • Using Xcode Organizer
  • Using external services
  • Using .crash file and .dSYM file
    Sources: iTunesConnect Crash Report (Distributed)
    Device failure log or external services.
+4
source share
2 answers

If I have a .crash file and a .dSYM file, this works.

  • Preliminary

    Create a temp folder in ~/ , path ~/temp/
    Store all files in ~/temp/ ie script, .ipa, .dsym and .crash (actually .ipa is not required)

  • Go to ~/temp/

  • Set path : if two Xcode are not installed on the system or paths

    sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/ export DEVELOPER_DIR=/Applications/Xcode.app

  • Create shortcut

    Alias ​​symbolicateCrash / Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / Library / PrivateFrameworks / DTDeviceKit.framework / Versions / A / Resources / symbolicatecrash

  • Get Symbols :

     atos -arch armv7 -o 'appname.app'.dSYM/Contents/Resources/DWARF/'appname' 0x0029c296 atos -arch armv7 -o 'appname.app'.dSYM/Contents/Resources/DWARF/'appname -l "binary image line of crash log" 

    or

     symbolicateCrash 'logname'.crash 'appname.app'.dSYM/Contents/Resources/DWARF/'appname' 
  • However, if any problems ? Still could not contact some not found, could not understand the exceptions.
    Script downloaded: external shell script (loaded as "symbolicatecrash")

./symbolicatecrash -v filename.crash

Literature:

How to manually symbolize iOS crashes to view crash logs

IPhone crash character reports on iPhone

iphone: Where is the .dSYM file in the crash report?

How to create a dSYM file in Xcode 4?

How to symbolize iPhone \ iPad crash logs?

+4
source

you should go with β†’ Xcode β†’ Organizer β†’ Devices β†’ Logging :)

Here you can find the crash log .... OR you can use the TestFlight SDK to use, see the crash log of your test groups. Device....

0
source

Source: https://habr.com/ru/post/981913/


All Articles