Skip to content

Fix Platform Versions #86

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

Closed
wants to merge 2 commits into from
Closed

Fix Platform Versions #86

wants to merge 2 commits into from

Conversation

JannThomas
Copy link
Collaborator

There are a lot of @available(iOS 13, tvOS 13, macOS 11.15 *) checks in the repo. As SwiftUI only exists on these platforms anyway, I would propose we remove them and move the platforms to these versions.

@ldiqual I would also like to have your take on whether there is a reason to keep it the way it was.

Copy link
Collaborator

@SplittyDev SplittyDev left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@ldiqual
Copy link
Contributor

ldiqual commented Mar 18, 2021

@JannThomas We added those version checks to allow using Introspect on apps that target older iOS versions. See #28

For instance if you target iOS 12-14, you'd want to use Introspect just on iOS 13+, but still have the app run on iOS 12.

@JannThomas
Copy link
Collaborator Author

@ldiqual Ah I see, thanks for the explanation. Sad that SPM doesn't support this by default.

@JannThomas JannThomas closed this Mar 19, 2021
@davdroman davdroman deleted the fix-platforms-versions branch June 2, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants