CVDisplayLink debug messages

Since Xcode 13.2.1 I get flooded with CVDisplayLink debug / warning messages.

Like

CVDisplayLink::start
CVDisplayLink::stop

20 times a second or so.

I think they may come from an WebView which runs an embedded version of the Ace editor.

Does anybody know how to prevent the CVDisplayLink messages specifically ?


Solution 1:

I get these messages too and also think it has to do with WKWebview.

My only workaround for now is trying to silence them with: OS_ACTIVITY_MODE = disable on the Scheme.

1

On Xcode go to Product > Scheme > Edit Scheme

2

On Run > Arguments add the Environment Variable:

OS_ACTIVITY_MODE and set the Value to disable

Editing the scheme to add environment variable

These debug messages should not be there next time you run the app.