在 Xcode 的调试日志里关闭 CVDisplayLink 日志
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.
在 Xcode 的调试日志里关闭 CVDisplayLink 日志
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
iOS 开发实用技术导航
NSHipster 中文版
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
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
Cocoa with Love
Cocoa Dev Central
NSHipster
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Smore
在 Xcode 的调试日志里你可能会看到大量这样的信息:
[0x15018aa20] CVDisplayLink::stop
对于找 App 本身的日志有很大的干扰效果。
可以在 Terminal 里用下面这行指令将其关闭:
defaults write com.apple.corevideo cv_note 0
这样做唯一值得注意的就是你需要记得曾经跑过这条指令,这样在将来如果有任何需要的话,可以把上面的 0 改成 1 来重新看这些日志。
关于这种日志的更多信息:
https://indiestack.com/2022/03/quieting-cvdisplaylink-logging/
Borden 1 天前
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK