In addition to enabling PubNub-specific logging as described below, you can gather crash reports and device logs from the App Store, TestFlight, and directly from devices. For more information, refer to this Apple document. You'll want to add identifiable symbol names to the reports, as well. This is also called symbolicating the reports.
self.client.logger.enabled = YES; [self.client.logger setLogLevel:PNVerboseLogLevel];
To enable logging before 4.5.0. You can use this:
- in your Xcode project, go to
PubNub > Misc > PNConstants.h
- OR, to access it through code:
NSString *version = [PubNub information].version;
Devices(in menu bar,
APPNAME/Documents) in Xcode to grab the logs off the
APPNAME/Documentsdirectory on your device, and include them in your support ticket.