質問

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?

役に立ちましたか?

解決

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

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top