Gathering iOS Logs

Device logs using Xcode

Xcode is an integrated development environment (IDE) that contains a suite of software development tools by Apple to be used for developing software for OS X and iOS. It is also helpful for retrieving device logs for troubleshooting iOS device issues. Xcode required Apple hardware to run and is available via the Mac App Store free of charge.

How to gather device logs using Xcode

  1. Connect your iOS device to your OS X device running Xcode.
  2. Launch Xcode and click on the Window option on the top bar. Select Devices
    Xcode.png
  3. Select your device from the left pane.
  4. Click on the upward facing arrow near the bottom left corner of the main window.
    Window.png
  5. Copy the logs and paste them into a text file.

Device logs using Apple Configurator 2

Apple Configurator is a free Mac OS X tool for configuring and deploying iOS dev ices in the enterprise by using a physical USB connection. The main purpose of the Apple Configurator application is to allow IT administrator to configure settings on iPhones and iPads before rolling them out to end users. 

Administrators can create configuration profiles, import existing profiles from the iPhone Configuration Utility, install specific operating system versions and enforce mobile device security policies. Apple Configurator 2 can also be used to collect device logs to troubleshoot iOS device issues. 

How to gather device logs using Apple Configurator 2

  1. Connect your iOS device to your OS X device running Apple Configurator 2.
  2. Launch Apple Configurator 2 and select your device from the list on the main window.
    Main_Window.png
  3. Select Console from the pane on the left.
    Console.png
  4. Copy the logs and paste them into a text file.

How to gather crash logs using Xcode

  1. Connect your iOS device to your OS X device running Xcode.
  2. Launch Xcode, click on the Window option on the top bar and select Devices.
  3. Click on View Device Logs. 
    Logs.png
  4. Select the appropriate crash logs and copy them over to your directory.


Have more questions? Submit a request

0 Comments

Article is closed for comments.