My app got rejected from Apple and I have got crash reports in .txt format instead of .crash format.
How can I symbolicate or read the crash report ?
To symbolicate in Xcode, click the Device Logs button in the Devices and Simulators window, then drag and drop the crash report file into the list of device logs. Crash reports must have the . crash file extension.
Symbolication is the process of converting them into human readable, class/method names, file names, and line numbers.
Steps to analyze crash report from apple: Copy the release .app file which was pushed to the appstore, the .dSYM file that was created at the time of release and the crash report receive from APPLE into a FOLDER. OPEN terminal application and go to the folder created above (using cd command)
OS symbols are architecture specific - a release of iOS for 64-bit devices won't include armv7 symbols. Xcode will automatically copy OS symbols from each device that you connect to your Mac. If any of these are missing Xcode may not be able to symbolicate the crash report, or may only partially symbolicate the crash report.
Copy .crash file (ascii file, with stack trace in begging of file) and .xarchive of crashing release to same temporarly folder Show activity on this post. In order to symbolicate crashes, Spotlight must be able to find the .dSYM file that was generated at the same time the binary you submitted to Apple was.
Xcode will automatically symbolicate the crash report and display the results To symbolicate a crash report, Xcode needs to be able to locate the following: The crashing application's binary and dSYM file. The binaries and dSYM files for all custom frameworks that the application links against.
When you get your crash report as a .txt file just follow these steps :
Change the file extension .txt
to .crash
(eg mycrash.txt
to mycrash.crash
).
Create a new folder in desktop and copy the mycrash.crash
file to the
newly created folder.
Copy the .dSYM file:
https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/[appID]/activity/ios/builds/[version]/[build]/details
Open the Archives window in Xcode by navigating the menus: xcode -> window -> orgnizer
or xcode -> product -> Archive
:
Select any Archives of your app Right click on it, then select Show in Finder
Right-click on appname.xcarchive
and select Show Package Contents.
Open the dSYMs folder and get the .dSYM file, and paste it too in the newly created folder.
Copy the .app file from the same xcarchive to the new folder.
Go to path /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/
Copy the symbolicatecrash
file to the newly created folder.
Open terminal, navigate to your folder path and then run:
$ export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer"
Then run the symbolicate command on your crash like so:
$ ./symbolicatecrash mycrash.crash > symbolicated.crash
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With