IBM Support

How to collect iOS Console logs from Apple configurator 2 or Xcode

How To


Summary

Collecting iOS console logs from Apple Configurator 2 or Xcode - These logs are required for troubleshooting issues regarding MDM functionality such as App, Wi-Fi, VPN not being installed on iOS device.

Steps

Collecting iOS console logs:

Sometimes when troubleshooting iOS devices, the MaaS360 application logs do not reveal enough information and there is a need for device level logs.  There are two programs for Mac OS X that can gather this information (If you do not have access to a Mac OS X device, an Apple Retailer or Apple Authorized Service Provider may be able to help get the logs).


Apple Configurator 2 and Xcode can both pull device logs.  Xcode has been used for this purpose for a long time, but AC2 is easier to navigate, more intuitive for new users, and takes up less hard drive space.  Both are free programs on the OS X app store.

*Important* To accurately gain visibility to any issue, we need to get the most accurate information possible.  Make sure that the issue is replicated while the device is tethered and the logs are showing live.  Make note of the date and time stamps when grabbing the logs.

Apple Configurator 2

1.  Open the program and connect the iOS device to the computer (iTunes tethering may not be restricted).  When the device appears on the screen, right click on it and select "Get Info"

AC 1

2. On the new page, select "Console" and a live, real-time view of the logs will appear.

AC 2

3. At the bottom of the page there are options to clear the text (clears the information up until that point, making it easier to see the starting point of the actions), Reload, and Mark (puts a time and date stamp in the log file).  There is also the ability to save.

Xcode
1. Open Xcode and create a new Playground
Xcode 1
2. In the menu, select "Window" and "Devices"
xcode 2
3.  On the left find the device tethered to the computer (it will not show if pairing to iTunes is restricted), select it, and at the bottom of the page the live view of the logs will appear.  There is the ability to trash or export them.
Xcode 3

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSXX","label":"IBM MaaS360"},"Component":"iOS Console logs using Apple configurator 2 or Xcode","Platform":[{"code":"PF014","label":"iOS"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
15 March 2019

UID

ibm10872534