When attempting to build dependencies on MacOS 15 you receive the following error:
/Users/username/Projects/PrusaSlicer/deps/build/dep_wxWidgets-prefix/src/dep_wxWidgets/src/osx/carbon/dcscreen.cpp:73:13: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
Description of the bug
When attempting to build dependencies on MacOS 15 you receive the following error:
/Users/username/Projects/PrusaSlicer/deps/build/dep_wxWidgets-prefix/src/dep_wxWidgets/src/osx/carbon/dcscreen.cpp:73:13: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
Project file & How to reproduce
Follow instructions here: https://github.com/prusa3d/PrusaSlicer/blob/master/doc/How%20to%20build%20-%20Mac%20OS.md
Checklist of files included above
Version of PrusaSlicer
NA: src
Operating system
MacOS 15.0
Printer model
N/A