Skip to content

Adopt availability macros - #127

Merged
guoye-zhang merged 1 commit into
apple:mainfrom
guoye-zhang:availability
Jun 22, 2026
Merged

Adopt availability macros#127
guoye-zhang merged 1 commit into
apple:mainfrom
guoye-zhang:availability

Conversation

@guoye-zhang

Copy link
Copy Markdown
Contributor

Add availability annotations so they can translate differently in different environments

@guoye-zhang
guoye-zhang requested review from Lukasa and ekinnear June 5, 2026 19:02
@guoye-zhang guoye-zhang added the semver/none No version bump required. label Jun 5, 2026
Comment thread Package.swift
Comment on lines +39 to +43
"HTTPTypes 1.0": "macOS 10.0",
"HTTPTypes 1.1": "macOS 10.0",
"HTTPTypes 1.2": "macOS 10.0",
"HTTPTypes 1.3": "macOS 10.0",
"HTTPTypes 1.6": "macOS 10.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should/can we use any AppleOS on the latest tools version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I believe that only works for 26+. I'm using macOS 10.0, * as a placeholder for "available everywhere".

@guoye-zhang
guoye-zhang merged commit 141600d into apple:main Jun 22, 2026
70 checks passed
@guoye-zhang
guoye-zhang deleted the availability branch June 22, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants