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

link weakly to SwiftUI framework #615

Merged

Conversation

kambala-decapitator
Copy link
Contributor

Closes #583

@rechsteiner
Copy link
Owner

Thank you for fixing 🙌

@rechsteiner rechsteiner merged commit dbbc741 into rechsteiner:master Dec 13, 2021
@kambala-decapitator kambala-decapitator deleted the weak-link-SwiftUI branch December 13, 2021 16:39
This was referenced Jan 14, 2022
@ankit0812
Copy link

How can we use this fix in our project.
I tried updating to 3.1.0 but does not help

@kambala-decapitator
Copy link
Contributor Author

@ankit0812 if you use Cocoapods, like this for example:

pod 'Parchment', :git => 'https://github.com/rechsteiner/Parchment.git', :branch => 'master'

rechsteiner pushed a commit that referenced this pull request Mar 7, 2023
In #615, -weak_framework SwiftUI was added as an unsafe compiler flag
to the Swift package and Xcode project. This fixed an issue where you
could not use Parchment on platforms that did not support SwiftUI. It
turned out that this causes another issue where users cannot install
Parchment using SwiftPM (reproducible by creating a new Xcode project
with the SwiftUI template).

Removing this will probably bring back the other issue, but most
people have started updating to iOS versions that support SwiftUI
now. People still using older iOS version would have to target version
3.2.0, but that is probably fine as the majority of new features are
likely to be SwiftUI improvements anyway.
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.

SwiftUI image not found on older iOS versions.
3 participants