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

Please support older macOS/iOS versions #74

Open
danschlet opened this issue Aug 9, 2024 · 2 comments
Open

Please support older macOS/iOS versions #74

danschlet opened this issue Aug 9, 2024 · 2 comments

Comments

@danschlet
Copy link

Hi,

Is there a technical reason why only quite new macOS/iOS versions (macOS 13.3 and iOS 16.4) are supported in the Swift Packages? I thought because your great code is pure Swift and doesn't have dependencies on AppKit/UIKit/Foundation that I should be able to use it with older OS versions as well.

Supporting only new OS versions is a major issue for software which must be compatible with older Macs and iOS devices, which are very common for example in education settings. Currently we're still supporting macOS 10.13 and iOS 12 and even though heavily relying on AppKit/UIKit, this works great also with Swift code.

Thank you for an answer/considering our request.

Kind regards,
Daniel

@tayloraswift
Copy link
Owner

the “technical” reason is that the library (or one of its infrastructural dependencies) uses Swift language features that are only supported on newer versions of macOS. however, i don’t remember off the top of my head what those language features are, only that those platform version minimums were needed at one point in order to compile the package successfully on macOS.

what errors do you get if you lower or remove the platform versions?

@stackotter
Copy link
Contributor

This swift-hash PR (now merged 🎉) should make it possible to fix this issue

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

No branches or pull requests

3 participants