How do I symbolize crash logs sent from Apple reviewers?

I recently sent an app to the app store and it was rejected. The application I made was specifically for the iPhone, but I didn’t know that you had to make sure that it worked on the iPad (Apple Guidelines 2.10), and therefore my application was rejected due to its failure when reviewers launched it on the iPad Air.

I don't have an iPad iPad, so I can't reproduce the crash on my side. Reviewers sent me a .crash file for the application, and I had problems with its symbols.

I have a .crash file, as well as .dSYM and .app files for the application binary file. how can i symbolize a .crash file here?

+7
source share
3 answers

Firstly, my suggestions: -

1) You can use the Crashlytics SDK to get detailed crash reports, as well as a very good reporter and for free. you get a stack trace and even a failure line.

2) It is not necessary to make an application for iPhone and iPad. If you made the Universal application, then you can also configure the target device of the application only on iPhone. If the user works on the iPad, he will only work with the iPhone. You can change the settings in Project Navigator → Target → General tab → Deployment Information → Devices.

For reference on apple guideline 2.10: iPhone apps should also work on iPad unchanged with iPhone resolution and 2X iPhone 3GS resolution

To analyze the crash report: - Check these links: - 1) Link 1 2) Link 2

0
source

Some information for people with similar problems: we got the crash log files as txt files. If you change the extension to crash , you can simply drag and drop files into Xcode:

Connect any device, open Window/Devices , click View Device Logs and drag and drop .crash files there, and they will be automatically displayed.

I could not get ours to write manually, even with atos and using the correct dSYM file (checked UUID). However, Xcode managed to symbolize them.

Disclaimer: This is tested on Xcode 8.1. If you stumbled upon this answer when starting Xcode 9/10 / ... there (as usual) there is no guarantee that this will work anyway.

+7
source

I'm still new to iPhone development, but I was able to use Symbolicator with one of my applications. There is also Xsymbolicate .

0
source

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


All Articles