Skip to content

Failed build on macOS with Xcode 16.0 #11288

@shuxiao9058

Description

@shuxiao9058
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_KeePassXC/KeePassXC/work/keepassxc-c1a66a8be98d8f3a7ea1ba0ca6065c2d1a10e56b/src/gui/osutils/macutils/AppKitImpl.mm:190:37: error: 'CGDisplayStreamCreate' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
:info:build   190 |         CGDisplayStreamRef stream = CGDisplayStreamCreate(CGMainDisplayID(), 1, 1, kCVPixelFormatType_32BGRA, nil,
:info:build       |                                     ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:242:41: note: 'CGDisplayStreamCreate' has been explicitly marked unavailable here

refer to: #10308

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions