How to enable logging for iOS devices through Profiles


#1

There are times when App/Service may require debugging to find out the root bug/cause. To obtain the logs required from iOS devices, there are many ways you can enabling logging, either through Xcode or through terminal.

If the issue is with the App itself, you can use the below instruction to obtain App logging.

  • Go to https://developer.apple.com/bug-reporting/profiles-and-logs and log in using your developer account.

  • Select the profile you want to download ( i. e Managed Configuration (MDM) ).

  • Email the profile to your phone and install it on the device.

  • You maybe asked to restart the device. Restart it and reproduce the issue.

  • Perform a sysdiagnose by pressing both Volume Down, Volume Up and Home Button, device will vibrate when the diagnose start. allow at least 5 minutes for this to run and record the time.

  • To obtain the logs, connect the device to a PC with latest iTunes installed, go to device to download the logs.

Once logging completed, go to device settings to remove the installed profile.