We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Why I try to build the PyObjC Quartz module on macOS 15, I get this error:
Modules/_coregraphics.m:243:17: error: 'CGWindowListCreateImageFromArray' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. 243 | CGWindowListCreateImageFromArray(screenBounds, windowArray, imageOption); | ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGWindow.h:280:33: note: 'CGWindowListCreateImageFromArray' has been explicitly marked unavailable here 280 | CG_EXTERN CGImageRef __nullable CGWindowListCreateImageFromArray( | ^
Platform information
python312
To Reproduce Build the PyObjC Quartz module on macOS 15.
Expected behavior I expect the build to succeed without errors.
The text was updated successfully, but these errors were encountered:
I found a workaround for MacPorts by setting the deployment target to macOS 14: https://trac.macports.org/wiki/SequoiaProblems#ScreenCaptureKitRequirementwithmacOS15SDK
Sorry, something went wrong.
Thanks for the report. I generally build with the Python.org installations of Python and hadn't seen this problem yet.
Issue #627: Fix build error when deployment target is 15.0 or later
e5aa375
7448193
No branches or pull requests
Describe the bug
Why I try to build the PyObjC Quartz module on macOS 15, I get this error:
Platform information
python312
)To Reproduce
Build the PyObjC Quartz module on macOS 15.
Expected behavior
I expect the build to succeed without errors.
The text was updated successfully, but these errors were encountered: