kstenerud/KSCrash — pull request #76 by bigsablept (2014-11-03 18:23:00+00:00)
Title: Issue #75: Add support for the latest Quincy and HockeyApp versions

The latest version of the Quincy server expects some additional XML elements in the Quincy format crash report.

- The `` and child `` elements list the type (app or framework), architecture, and uuid of the app binary and embedded frameworks binaries.
- The `` element that is not contained within the `` element contains the crash ID field that is already available in KSCrash.
- The `` field contains the new optional user name supported by the Quincy and HockeyApp UIs.
- The `` element contains a uuid value that should remain the same across all crash reports generated by the app. I look in the NSUserDefaults for this using the same value name as the QuincyKit code and store it there if I create it.

The Quincy server parses the binary image lines in the crash report. The list of binary architectures that it supports in those lines does not include the x86 value used by KSCrash. It expects to see i386 for that architecture instead. I have switched these values in the KSCrash code. However, if anybody using KSCrash is parsing the report themselves and looking for x86 this will be a problem. Perhaps this should only be done when reporting to Quincy and Hockey.

The URL where the HockeyApp SDK sends crash reports has changed. I have updated that URL.

This code is backwards compatible with the Quincy 2 server code. The older server ignores the additional XML elements.