Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Viewing the console log in iOS7

Prior to iOS7, if I wanted to view the output log of an app running on an iOS device, I would use one of:

https://itunes.apple.com/au/app/system-console/id431158981?mt=8 https://itunes.apple.com/au/app/console/id317676250?mt=8

However, since upgrading to iOS7, both of these don't seem to be recording the log output of any app on my phone.

Would this be due to a new setting on my phone? Or has iOS7 changed the way in which logging is handled such that these two apps are now broken?

like image 855
tomblah Avatar asked Sep 27 '13 04:09

tomblah


People also ask

How do I view console logs in iOS?

Double-click the name of the device that you are running the log file on. Click Console (from the window's main menu). The activity log displays on screen.

Does iOS have a console?

Here are the steps for using the iOS Console: Download and install iOS Console on your Mac. Open iOS Console, then plug-in your iOS device. Open Day One and perform the actions that are causing issues in Day One.


2 Answers

We're the creator of System Console - https://itunes.apple.com/au/app/system-console/id431158981?mt=8

It looks like in iOS7 the sandbox now prevents an app from seeing the logs of other apps. In iOS6 apps could no longer see kernel and system log entries. Now in iOS7 you can only see your own logs. For System Console this is obviously a deal breaker.

I don't see any apps store approved ways of getting around it.

It might be that we have to find a backdoor way of accessing the logs and release the source code to System Console with this method. i.e you build it yourself.

Chris

like image 136
lyonanderson Avatar answered Oct 05 '22 23:10

lyonanderson


iOS 8 + Xcode Method

Within Xcode 6:

In the menu, open Window -> Devices. Select your device, and there's a little arrow at the bottom: Arrow icon

Click this and it will pop open the device console.

iPhone Configuration Utility Method

This has stopped working for me since iOS 8 was released, but evidently may work if iTunes is updated.

You can do this while plugged into your mac with the iPhone Configuration Utility. Not as portable, but still useful.

http://support.apple.com/kb/DL1465

You can select your device on the sidebar, and among other options, one of the tabs is "Console".

This exists for Windows as well: http://support.apple.com/kb/DL1466

Not quite the same but it works.

like image 38
mszaro Avatar answered Oct 05 '22 22:10

mszaro