Skip to main content

Collect console logs for iOS devices


Mostly I work in a windows environment and it is necessary to get console logs for iOS devices to find out the root cause of the issue. We can get iOS app crash log from this path ( C:\Users\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\DSS-Iphone 6 ) in windows machine using iTunes. But we need an entire app log to understand what goes wrong in the application.

And after some research, I found iTools which allow you to manage iOS devices and also show entire device logs. This tool helps me to do my testing. As per my understanding, this tool will not run without iTunes. iTools was also affected by the latest iTunes update.

Now I have found some other tool called 'iOSLogInfo'. Download and run iOSLogInfo to get console log for iOS devices in windows.

Requirements:-
Steps:-

  1. Download and save iOSLogInfo zip downloading by above link.
  2. Extract the zip file contents.
  3. Ensure iTunes for windows is installed.
  4. Connect your iOS device to a PC.
  5. From a command prompt navigate to the location you extracted the above contents and run one of the followings to start a live log collection session. 
  • sdsiosloginfo.exe -d
          OR to write the contents to a log file run.
  •  sdsiosloginfo.exe -d > d:\iOS_log.log
Additonal commands available:

Start logging:-
sdsiosloginfo.exe -d > d:\folder\iOS_Console_Log.log

Pull disk usage:
sdsiosloginfo.exe -q com.apple.disk_usage -x > d:\folder\iOS_Disk_Usage.xml

Pull device status:
sdsiosloginfo.exe -x >  d:\folder\iOS_Device_Stats.xml

Pull iTunes log:-
sdsiosloginfo.exe -e  -k d:\folder

Original Source:- https://tr.im/1WF6a



Comments

  1. Thanks Vijay for sharing the valuable information.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Blackberry publishes this little tool to help testers who is using windows machine to get iOS device and app logs for support purposes. It is a free command line tool and can be used as simple as ADB for Android.

    ReplyDelete
  4. Today I came to know the blog about "How to 'Access the iPhone Debug Log/Console on Windows'"?

    Nice blog worth to read

    https://deciphertools.com/blog/iphone-debug-log-console-apple-configurator/

    ReplyDelete
  5. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

    ReplyDelete

Post a Comment

Popular posts from this blog

Android Application Automation Testing using MonkeyTalk IDE Professional

Steps to install and run the MonkeyTalk scripts 1. Download Monkey Talk IDE and AspectJ from given link:     https://www.cloudmonkeymobile.com/monkeytalk     Download Eclipse 4.3.1 or 4.3.2 (for Windows) from given link and copy in    your C Drive.     https://www.eclipse.org/downloads/packages/eclipse-standard-432/keplersr2 2. Launch Eclipse and install AspectJ for respective eclipse version.      aspectj - http://download.eclipse.org/tools/ajdt/37/update 3. Now get the app source code from your developer which you want to test and import it in eclipse. 4. Right Click on your project >> Configure >> Convert to AspectJ project.      5. Check you have "libs" folder or not.If you have then OK or else create a new "libs" folder. 6. Now open Monkey Talk\monkeytalk\agents\android\ monkeytalk-agent-2.0.5.jar folder that we downloaded in step 1. Drag & copy the agent.jar file in libs folder. 7. Now Right Click on newly c

AI in Software Testing

AI Testing In the span of only a few months, AI has reshaped the landscape of almost every industry around the world in both positive and negative ways. Indeed, there is still a lot of room for improvement in this groundbreaking technology, but if businesses don’t embrace it, they’re sure to be left behind. In the QA industry, “AI testing” will become the norm in the next few years, bringing incredible advancements in the way we think and do software testing. In this article, we’ll explore the concept of AI testing in-depth, see how AI can optimize testing, and share the pioneering AI testing tools that you can leverage to transform your QA workflows. What is AI? Before diving into the concept of AI testing, we must first have a common understanding of Artificial Intelligence (AI). AI has become a buzzword recently after the introduction of ChatGPT – a revolutionizing chatbot. So, what is AI? AI can be defined as the simulation of human intelligence via machines that are programmed to