Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

debugging - 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...