Skip to content

Conversation

@palpatim
Copy link
Member

Issue #, if available: #878

Description of changes:

Explicitly notes SwiftUI as a weak_framework to work around what I'm assuming is an Xcode or CocoaPods bug where SwiftUI isn't properly weak-linked by Xcode the way other frameworks (such as Combine) are.

This change also adds an @available guard on the DevMenuPresentationContextProvider protocol, to ensure that calling apps using the DevMenu are properly guarding their own code with availability checks or a sufficiently high minimum deployment target.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@palpatim palpatim requested a review from drochetti November 13, 2020 23:06
Copy link
Contributor

@drochetti drochetti left a comment

Choose a reason for hiding this comment

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

awesomeness! thanks 🚀

@palpatim palpatim merged commit e2fe056 into main Nov 13, 2020
@palpatim palpatim deleted the palpatim.fix.weak-link-swiftui branch November 13, 2020 23:53
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