Unable to capture only the cursor in macOS Tahoe

Precondition: In system settings, scale the pointer size up to the max.

Our SCScreenshotManager code currently works in macOS 15 and earlier to capture the cursor at it's larger size, but broke in one of the minor releases of macOS Tahoe. The error it produces now is "Failed to start stream due to audio/video capture failure". This only seems to happen with the cursor window, not any others.

Another way to get the cursor is with https://developer.apple.com/documentation/appkit/nscursor/currentsystem, but that is now deprecated, which makes me think the capture of the cursor is being blocked deliberately.

We see this as a critical loss of functionality for our apps, and could use guidance on what to use instead.

Unable to capture only the cursor in macOS Tahoe
 
 
Q