0

在 Xcode 的调试日志里关闭 CVDisplayLink 日志

 2 years ago
source link: https://www.v2ex.com/t/844823
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

在 Xcode 的调试日志里关闭 CVDisplayLink 日志

V2EX = way to explore

V2EX 是一个关于分享和探索的地方

iOS 开发实用技术导航

NSHipster 中文版

http://nshipster.cn/

cocos2d 开源 2D 游戏引擎

http://www.cocos2d-iphone.org/

CocoaPods

http://cocoapods.org/

Google Analytics for Mobile 统计解决方案

http://code.google.com/mobile/analytics/

WWDC

https://developer.apple.com/wwdc/

Design Guides and Resources

https://developer.apple.com/design/

Transcripts of WWDC sessions

http://asciiwwdc.com

Cocoa with Love

http://cocoawithlove.com/

Cocoa Dev Central

http://cocoadevcentral.com/

NSHipster

http://nshipster.com/

Style Guides

Google Objective-C Style Guide

NYTimes Objective-C Style Guide

Useful Tools and Services

Charles Web Debugging Proxy

Smore

V2EX  ›  iDev

在 Xcode 的调试日志里关闭 CVDisplayLink 日志

  Livid · V2EX · 1 天前 · 601 次点击

在 Xcode 的调试日志里你可能会看到大量这样的信息:

[0x15018aa20] CVDisplayLink::stop

对于找 App 本身的日志有很大的干扰效果。

可以在 Terminal 里用下面这行指令将其关闭:

defaults write com.apple.corevideo cv_note 0

这样做唯一值得注意的就是你需要记得曾经跑过这条指令,这样在将来如果有任何需要的话,可以把上面的 0 改成 1 来重新看这些日志。


关于这种日志的更多信息:

https://indiestack.com/2022/03/quieting-cvdisplaylink-logging/

1 条回复    2022-04-04 05:45:31 +08:00

Borden

Borden      1 天前

好巧,我刚好也搜到这个并成功解决了这个一直困扰我的麻烦,就在俩小时之前。这个博主是个神人,相当硬核有营养。

关于   ·   帮助文档   ·   API   ·   FAQ   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2271 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 20ms · UTC 03:20 · PVG 11:20 · LAX 20:20 · JFK 23:20
Developed with CodeLauncher
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK