Apple deprecated some of the APIs for macOS screen capturing starting from Xcode 14.3. For example: CGDisplayStream.showCursor
is marked as deprecated in macOS 13.0-13.3:
However, when I check that in Xcode 14.3, I see that this property was introduced in macOS 13:
How am I supposed to ubserstand this? It was not introduced in 13.0. I was using it since macOS 10. If you check the same property in Xcode 14.2:
Same applies to CGDisplayStream.init
and others. Has anybody any ideas about this?
CG_AVAILABLE_BUT_DEPRECATED(13.0, 14.0
instead ofCG_AVAILABLE_BUT_DEPRECATED(10.8, 14.0
. Why wouldCGDisplayStream
be available in 13.0 but not in 12.0 anymore? To me it looks like a replace error. – Strander