Skip to content

Bump minimum target to macOS 26 - #111

Open
cyanzhong wants to merge 1 commit into
mainfrom
develop
Open

cyanzhong wants to merge 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The menu item availability guard skips the .visible setting on macOS 26.x.

Pull request overview

Raises the app’s minimum supported macOS version to 26 and updates related tooling, documentation, and CI.

Changes:

  • Updates deployment targets and BuildTools platform requirements.
  • Removes obsolete compatibility handling.
  • Updates Xcode schemes, CI, and README for macOS 26/Xcode 27.
File summaries
File Summary
TextGrabber2/Sources/Extensions/NSPasteboard+Extension.swift Removes obsolete pasteboard availability handling.
TextGrabber2/Sources/Extensions/NSMenuItem+Extension.swift Uses native menu image visibility APIs.
TextGrabber2/Sources/App/App+Detection.swift Simplifies menu symbol rendering.
TextGrabber2.xcodeproj/xcshareddata/xcschemes/TextGrabber2.xcscheme Updates Xcode scheme metadata.
TextGrabber2.xcodeproj/xcshareddata/xcschemes/TextGrabber2 (zh-Hans).xcscheme Updates Xcode scheme metadata.
TextGrabber2.xcodeproj/xcshareddata/xcschemes/TextGrabber2 (en).xcscheme Updates Xcode scheme metadata.
TextGrabber2.xcodeproj/project.pbxproj Sets the deployment target to macOS 26.
README.md Documents macOS 26 support.
BuildTools/Package.swift Sets the package platform minimum to macOS 26.
.github/workflows/build.yml Updates the CI toolchain and destination.
Review details

Suppressed comments (1)

TextGrabber2/Sources/Extensions/NSMenuItem+Extension.swift:28

  • With the deployment target now set to macOS 26, this call should also run on 26.x. The availability guard above still skips it until macOS 27, so menu item images on the newly supported 26.x runtime keep the default visibility instead of the .visible setting; the previous compatibility branch invoked this selector whenever it existed. Change the guard to 26.0 (or remove it) so the setting applies to all supported systems.
    preferredImageVisibility = .visible
  • Files reviewed: 10/10 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The CI workflow uses an unsupported xcode-27 runner label and must be corrected before approval.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 10/10 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread .github/workflows/build.yml
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 this pull request may close these issues.

2 participants