How to Obtain iOS Application Extended Logs for Troubleshooting

iOS application extened logs are used for troubleshooting apps. Logs are very helpful in finding the root cause of the issues you may be  experiencing in an app.

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

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

Obtaining iOS application Logs

You can configure your iOS apps to enable “extended logs” in the app.  You can use Appdome to enabled extended logs in iOS apps when you build the app on Appdome.

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.

In order to gather iOS application logs, you’ll need:

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

You should enable your iOS application extended 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 Extended Logs in Appdome-Built apps

  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 set

Enabling Extended Logs when building apps on Appdome

How to Use the Console App to Obtain logs 

Follow these step-by-step instructions to obtain iOS application 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 application logs being gathered
  5. You can filter the log messages using the search bar on top right
    Filtering messages when logging
  6. 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.

 

Alternative App for Gathering iOS application Logs – iOS Console

Besides the options above, you can also obtain iOS application 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 application logs being gathered.
  5. Reproduce the problem
  6. Highlight all of the log data
    Gathering logs via iOS console app as an alternative
  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

DafnaMaking your security project a success!