How to Obtain iOS Device Logs

Device logs are used for troubleshooting apps.  Logs are very helpful in finding the root cause of the issue you are experiencing in an app.

This Knowledge Base article provides step-by-step instructions for gathering iOS logs while troubleshooting on Appdome.

We hope you find this knowledge base useful and enjoy using Appdome!

Obtaining iOS Device Logs

You can configure your iOS apps to enable extended logs on the app.  You can use Appdome to enabled extended logs in iOS apps.

Using Appdome, there are no development or coding prerequisites.  For example, there is no Appdome SDK, libraries, or plug-ins to implement.  The Appdome technology adds relevant standards, frameworks and more to the app automatically, with no manual development work at all.

Prerequisites for Obtaining iOS Device Logs

In Order to gather iOS device logs, you’ll need:

  • Xcode
  • Console
  • USB cable connected to an iOS device
  • Text Editor
  • iOS Console (opt)

You should enable your iOS device logs whenever you want to view helpful and detailed information on why the app is experiencing problems.  Here is more information from Apple on how you can enable logs and why they are useful.

Enabling Fused Apps on Appdome with Extended Logs

  1. Verify with Appdome support team that your account can enable Extended Logs
  2. While Building an app, under Security and Management you can enable Extended Logs
  3. Under Troubleshooting, enable Extended Logs for the Fusion

How to Use the Console App to Obtain iOS Device Logs

Follow these step-by-step instructions to obtain iOS device logs:

  1. Connect your iOS device to a Mac
  2. Select Trust this computer on the iPhone pop-up request
  3. Start the Console app and choose the relevant device
  4. Select your connected iOS device, and you will see the iOS device logs being gathered
  5. You can filter the log messages using the search bar on top right6. Reproduce the problem
    7. Highlight all of the log data
    8. Copy the log messages using Command + C or Edit–> Copy

    9. Open a text editor and paste the data
    10. Save this log file as a .log

    Here’s a link to a video of this process in gathering an iOS app’s extended log.

Obtaining App-Specific Crash Logs

If you want to get a specific app crash log, you can use Xcode to get it.

  1. Open Xcode
  2. Go to the menu bar: Window → Devices and Simulators. Select your iPhone and press the arrow button in the bottom right
  3. Click View Device Logs
  4. Right-click on the App Crash and select Export Log
  5. Enter the log file name and the destination then click Save

Alternative App for Gathering iOS Device Logs – iOS Console

Besides the options above, you can also obtain iOS device logs using the iOS console app. Follow these steps:

  1. Install iOS Console
  2. Connect your iPhone to the computer
  3. Select Trust this computer on the iPhone pop-up request
  4. Start iOS Console and you will see the iOS device logs being gathered.
  5. Reproduce the problem
  6. Highlight all of the log data
  7. Copy the log messages using keys Command + C or select Edit –> Copy
  8. Open a text editor and paste the data
  9. Save this log file as a .log

How Do I Learn More?

Check out our blog for more resources on troubleshooting.

If you have any questions, please send them our way at support@appdome.com or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to make mobile integration easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.  

Paul Levasseur

Have a question?

Ask an expert