Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.15.14 regression build failure on macos sequoia #129

Open
chenrui333 opened this issue Sep 15, 2024 · 0 comments · May be fixed by #130
Open

1.15.14 regression build failure on macos sequoia #129

chenrui333 opened this issue Sep 15, 2024 · 0 comments · May be fixed by #130
Assignees

Comments

@chenrui333
Copy link

Summary

👋 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/[email protected]/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

@dominikschulz dominikschulz self-assigned this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants