Wesley Ow
Wesley Ow

Reputation: 315

How to symbolicate crash logs sent from apple reviewers?

I have recently submitted an app to the app store and it has gotten rejected. The app I made was specifically iPhone only, however i was unaware that you had to make sure it ran on an iPad as well (Apple Guidelines 2.10) and hence my app was rejected due to it crashing when the reviewers ran it on an iPad Air.

I do not own an iPad Air so I cannot replicate the crash on my side. The reviewers have sent me a .crash file for the app and I'm having troubles trying to symbolicate it.

I have the .crash file as well as both the .dSYM and the .app files for the app's binary. how do I go about symbolicating the .crash file from here?

Upvotes: 9

Views: 4072

Answers (2)

Joris
Joris

Reputation: 6286

Some info for people that are having similar issues: we received the crash log files as txt files. If you change the extension to crash you can just drag and drop the files in Xcode:

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

I couldn't get ours to symbolicate manually, even with atos and by using the correct dSYM file (checked the UUID). However Xcode managed to symbolicate them.

Disclaimer: This is tested on Xcode 8.1. If you stumble on this answer when running Xcode 9/10/... there is (as usual) no guarantee this will still work.

Upvotes: 15

Tech_Intelliswift
Tech_Intelliswift

Reputation: 516

Firstly, my suggestions :-

1) You can use Crashlytics SDK to get your crash reports in detail, its a very good crash reporter and free also. you will get the stack trace and even crash line.

2) It is not compulsory to make the app for both iPhone and iPad. If you have made the app Universal, then also you can set the app target device to iPhone only. If the user run on iPad, it will run as iPhone only. You can change the settings on Project Navigator -> Target ->General Tab -> Deployment Info -> Devices.

For info about apple guideline 2.10: iPhone apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution

For analyzing Crash report :- Check out these links :- 1) Link 1 2) Link 2

Upvotes: 0

Related Questions