Open chenrui333 opened 3 weeks ago
👋 seeing some regression build failure as below when building for macos sequoia
# github.com/kbinani/screenshot /Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/kbinani/screenshot@v0.0.0-20230812210009-b87d31814237/screenshot_darwin.go:10:9: error: 'CGDisplayCreateImageForRect' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. 10 | return CGDisplayCreateImageForRect(display, rect); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:391:33: note: 'CGDisplayCreateImageForRect' has been explicitly marked unavailable here 391 | CG_EXTERN CGImageRef __nullable CGDisplayCreateImageForRect( | ^ 1 error generated.
looks like this PR should fix the issue.
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/10824040627/job/30030608454#step:4:104
Summary
👋 seeing some regression build failure as below when building for macos sequoia
looks like this PR should fix the issue.
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/10824040627/job/30030608454#step:4:104