WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
277564
Build fails with “'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0”
https://bugs.webkit.org/show_bug.cgi?id=277564
Summary
Build fails with “'CGWindowListCreateImage' is unavailable: obsoleted in macO...
sideshowbarker
Reported
2024-08-02 13:05:01 PDT
macOS Sequoia 15.0 Beta (24A5298h) + Xcode 16.0 beta 3 (16A5202i) /opt/WebKit/Source/WebKitLegacy/mac/WebView/WebFullScreenController.mm:208:53: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. 208 | RetainPtr<CGImageRef> webViewContents = adoptCF(CGWindowListCreateImage(NSRectToCGRect(webViewFrame), kCGWindowListOptionIncludingWindow, windowID, kCGWindowImageShouldBeOpaque)); | ^
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2024-08-05 12:03:04 PDT
I can reproduce this with Xcode 16 beta 4.
Radar WebKit Bug Importer
Comment 2
2024-08-05 12:50:16 PDT
<
rdar://problem/133237307
>
Eric Carlson
Comment 3
2024-08-09 12:27:53 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/31964
EWS
Comment 4
2024-08-16 07:59:08 PDT
Committed
282351@main
(56fcab972661): <
https://commits.webkit.org/282351@main
> Reviewed commits have been landed. Closing PR #31964 and removing active labels.
Eric Carlson
Comment 5
2024-08-24 11:08:02 PDT
This caused 278360 so the changes were rolled out in
https://commits.webkit.org/282475@main
.
Eric Carlson
Comment 6
2024-08-25 13:31:04 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32687
EWS
Comment 7
2024-08-27 08:34:11 PDT
Committed
282791@main
(ea20b8a718cd): <
https://commits.webkit.org/282791@main
> Reviewed commits have been landed. Closing PR #32687 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug