在 iOS7 中查看控制台日志 [英] Viewing the console log in iOS7

查看:24
本文介绍了在 iOS7 中查看控制台日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 iOS7 之前,如果我想查看在 iOS 设备上运行的应用程序的输出日志,我会使用以下之一:

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=8https://itunes.apple.com/au/app/console/id317676250?mt=8

但是,自从升级到iOS7后,这两个似乎都没有记录我手机上任何应用程序的日志输出.

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

这是否是由于我手机上的新设置造成的?还是 iOS7 改变了处理日志的方式,以至于这两个应用程序现在都被破坏了?

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?

推荐答案

我们是 System Console 的创造者 - https://itunes.apple.com/au/app/system-console/id431158981?mt=8

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

看起来在 iOS7 中,沙箱现在可以阻止应用程序查看其他应用程序的日志.在 iOS6 中,应用程序无法再看到内核和系统日志条目.现在在 iOS7 中你只能看到你自己的日志.对于系统控制台来说,这显然是一个交易破坏者.

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.

克里斯

这篇关于在 iOS7 中查看控制台日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆