Hm, why would the Base SDK in Xcode make a difference? My understanding is that the version of getRectsBeingDrawn:count:
that gets dynamically linked and called at runtime is from the user’s /System/Library/Frameworks/AppKit.framework
. So the user’s macOS version determines the behaviour of that method.