Bug 277564

Summary: Build fails with “'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0”
Product: WebKit Reporter: sideshowbarker <mike>
Component: Tools / TestsAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, emw, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 277116    

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
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
Eric Carlson
Comment 3 2024-08-09 12:27:53 PDT
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
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.