I know that many of you are frustrated from the fact that iTools is no longer compatible with the release of iOS 10 and the concept of capturing iOS console logs for your iPhone, iPad or any iOS device is becoming harder with the new iOS updates.
I am writing this article because I was one of the testers having difficulties capturing my iPhone console logs on my Windows 10 PC and for many bugs reported through uTest, capturing the logs was one of the mandatory tasks needed by the customer. I was running to my wife requesting access to her MacBook Air in order to capture some console logs :D !!! OMG, sometimes it is annoying...Don't you agree ?
After many researches performed over the Internet, I finally found a tool called iOSLongInfo released by Blackberry Inc. This tool must run through command prompt on Windows computers to perform the console logs capturing.
Steps are very easy, but bear in mind that you must have iTunes installed on your Windows PC before using this tool.
How to download and use iOSLongInfo ?
1- Download the iOSLogInfo tool from here: https://www.blackberry.com/blackberrytraining/web/KB_Resources/KB36986_iOSLogInfo_3.0.5.zip
2- Use Winrar or winzip to extract the folder into any directory ( e.g. I extracted the folder to my C: Drive )
3- Make sure that your device is connected through the lightning cable to your PC
4- Click on start and type "CMD" , right click on the command prompt and make sure to select "Run as Administrator" as shown below
5- Now on the command prompt, go to the path of iOSLogInfo folder (e.g. in my case it was c:\iOSLogInfo so I had to type cd C:\iosloginfo)
6- Type the command below to begin with capturing iOS console logs
sdsiosloginfo.exe -d > c:\iosloginfo\consolelogs.txt
7- Do the needed action on your iOS device and once you are done go back to the command prompt and type CTRL + C to stop the console logging task.
8- Now you will notice that there is a new .txt file created inside the iOSLogInfo folder called "consolelogs.txt"
9- VoilĂ , :) you just have the console logs captured !
Note that the iOSLogInfo tool is having many commands other than capturing the iOS Console logs, there is for example the command called "sdsioscrashlog" to capture crash logs, "sdsdeviceinfo" to get your device info. etc... (see the screenshot below to see the list of available commands) + I listed all the additional comands available below:
Capture console logs:
sdsiosloginfo.exe -d > C:\iOSLogInfo\consolelogs.log
Capture Carsh logs:
sdsioscrashlog.exe -e -k C:\iOSLogInfo\crash_logs
Pull disk_usage:
sdsdeviceinfo.exe -q com.apple.disk_usage -x > C:\iOSLogInfo\iOS_Disk_Usage.xml
Pull Device Stats:
sdsdeviceinfo.exe -x > C:\iOSLogInfo\iOS_Device_Stats.xml
Pull iTunes logs:
sdsioscrashlog.exe -e -k C:\iOSLogInfo
Source(s): http://support.blackberry.com/kb/articleDetail?articleNumber=000036986
After reading this article, I am sure that many of you are extremely happy by now to find out that there is a tool to perform the capturing of iOS console & crash logs, so please comment below, like my article and follow me for more informative updates in the future.
I always had the passion to help users, testers and everyone to make their computerized life easier.
Have fun ! Love & Peace to everyone :-)
Regards,
Sami Bakhour
hi sami,
ReplyDeletei receive "Could not start logger for udid " error message after step-6. how can i solve the problem.
thanks.
hi sami,
ReplyDeletei receive "Could not start logger for udid " error message after step-6. how can i solve the problem.
thanks.