0

I had built a macOS application. When I delivered the app to the client, the app is crashing at some points. So I thought of putting the log file somewhere in the client's system so whenever the app crashed then I will have the exact location where is crashing. I'm using XCGLogger for storing debug logs in the file.

It storing the debug log. But whenever the app is crashing, it's not storing the crash report. I even change the output level to info. but it's not storing the crashing report.

halfer
  • 19,824
  • 17
  • 99
  • 186
  • XCGLogger only logs what you give it, it doesn't handle crash logs by itself. – Dave Wood Nov 19 '20 at 22:50
  • Is there is any way to store the crash report? @DaveWood – Ravindra Kumar Sonkar Nov 20 '20 at 05:03
  • 1
    You need to handle gathering the crash report. A quick search reveals this project that may help: https://github.com/sbooth/SFBCrashReporter Another example can be found here: https://github.com/Ranchero-Software/NetNewsWire/tree/main/Mac/CrashReporter – Dave Wood Nov 20 '20 at 19:27

0 Answers0