0003-Update-BWCrashReportTextFormatter-for-new-PLCrashRep.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From 9e1f00db0c5db45a5c1047445955db97bfde95db Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Sun, 15 Dec 2013 17:27:51 +0100
  4. Subject: [PATCH 3/3] Update BWCrashReportTextFormatter for new PLCrashReporter
  5. ---
  6. client/iOS/BWCrashReportTextFormatter.m | 9 +--------
  7. 1 file changed, 1 insertion(+), 8 deletions(-)
  8. diff --git a/client/iOS/BWCrashReportTextFormatter.m b/client/iOS/BWCrashReportTextFormatter.m
  9. index 79e4569..ceb725b 100644
  10. --- a/client/iOS/BWCrashReportTextFormatter.m
  11. +++ b/client/iOS/BWCrashReportTextFormatter.m
  12. @@ -148,7 +148,6 @@ static NSInteger binaryImageSort(id binary1, id binary2, void *context) {
  13. switch (report.systemInfo.architecture) {
  14. case PLCrashReportArchitectureARMv6:
  15. case PLCrashReportArchitectureARMv7:
  16. - case PLCrashReportArchitectureARMv7s:
  17. codeType = @"ARM";
  18. lp64 = false;
  19. break;
  20. @@ -173,17 +172,11 @@ static NSInteger binaryImageSort(id binary1, id binary2, void *context) {
  21. }
  22. {
  23. - NSString *reportGUID = @"[TODO]";
  24. - if ([report respondsToSelector:@selector(reportInfo)]) {
  25. - if (report.hasReportInfo && report.reportInfo.reportGUID != nil)
  26. - reportGUID = report.reportInfo.reportGUID;
  27. - }
  28. -
  29. +
  30. NSString *hardwareModel = @"???";
  31. if (report.hasMachineInfo && report.machineInfo.modelName != nil)
  32. hardwareModel = report.machineInfo.modelName;
  33. - [text appendFormat: @"Incident Identifier: %@\n", reportGUID];
  34. [text appendFormat: @"CrashReporter Key: [TODO]\n"];
  35. [text appendFormat: @"Hardware Model: %@\n", hardwareModel];
  36. }
  37. --
  38. 1.8.3.4 (Apple Git-47)