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

Fix warnings for Xcode 12, when used from SPM #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DenTelezhkin
Copy link
Contributor

SPM in Xcode 12 bumps minimum iOS deployment target to iOS 9, which produces warnings when trying to use Dwifft.

This PR fixes that by deleting minimum supported platforms from Package.swift. Please note, that macOS platform stays, because Dwifft minimum requirement for MacOS is higher than SwiftPM minimum deployment target.

I've also fixed couple new warnings from Swift compiler and enabled building for watchOS.

@Pe-te
Copy link

Pe-te commented Dec 22, 2020

Hi, I also get the enum warning you fixed and some other warnings for public modifer:

/Pods/Dwifft/Dwifft/Dwifft.swift:312:5: 'public' modifier is redundant for instance method declared in a public extension
/Pods/Dwifft/Dwifft/Dwifft.swift:318:5: 'public' modifier is redundant for instance method declared in a public extension
/Pods/Dwifft/Dwifft/SectionedValues.swift:75:5: 'public' modifier is redundant for initializer declared in a public extension

Maybe you can add those too?

And do you know what's needed to get the PR merged and deployed in a new version?

@DenTelezhkin
Copy link
Contributor Author

It's up to maintainer @jflinter I guess. As for the warnings you are mentioning, they are already fixed on master branch.

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