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

Bump minimum supported macOS version to 10.15 (macOS Catalina) #79098

Merged
merged 3 commits into from
Jan 12, 2025

Conversation

moxian
Copy link
Contributor

@moxian moxian commented Jan 12, 2025

Summary

Infrastructure "Bump minimum supported macOS version to 10.15 (macOS Catalina)"

Purpose of change

Is a requirement for #79092 (macOS 10.13 does not have <filesystem> header despite supporting C++17. [ref])

At the time of writing macOS 10.13 (macOS High Sierra) has a market share of 0.92%, and macOS 10.15 is at 96.35% (ref: https://gs.statcounter.com/os-version-market-share/macos/desktop/worldwide)
StatCounter-macos_version-ww-monthly-202312-202412
Dropping support for 10.13 does not sound unreasonable.

Describe the solution

Update the -mmacosx-version-min flag
Update the docs.

Describe alternatives you've considered

  • Making a <filesystem> shim specifically for old macOS...
  • N/A really

Testing

Added a random std::filesystem::path usage to one of cpp files, fed it to the CI, CI didn't seem to mind (link)

Additional context

The way we're reporting min supported xcode seems to be fraudulent, since there's no clear correspondence between mac os version (incl. -mmacosx-version-min) and xcode version. The xcode running on CI is version 15.2 for example, judging by the logs. Perhaps it would be better to remove that field completely so as not to confuse people?.. Idk, this is a tangent anyway...

If someone who understands Apple ecosystem could double-check my xcode selection that would be appreciated.

@github-actions github-actions bot added <Documentation> Design documents, internal info, guides and help. Code: Build Issues regarding different builds and build environments [Markdown] Markdown issues and PRs Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Jan 12, 2025
@moxian moxian marked this pull request as draft January 12, 2025 07:25
@moxian moxian marked this pull request as ready for review January 12, 2025 07:26
@harakka harakka added the OS: macOS Issues related to macOS / OSX operating system label Jan 12, 2025
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Jan 12, 2025
@Maleclypse Maleclypse merged commit 33bd0e9 into CleverRaven:master Jan 12, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions Code: Build Issues regarding different builds and build environments Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style <Documentation> Design documents, internal info, guides and help. json-styled JSON lint passed, label assigned by github actions [Markdown] Markdown issues and PRs OS: macOS Issues related to macOS / OSX operating system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants