-
Notifications
You must be signed in to change notification settings - Fork 44
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
Only mark package swiftpm incompatible when pluginClass is present. #1420
Conversation
cc @loic-sharma |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating this!
This is not a very future-proof test, since eventually we expect no plugins to have a podspec. I would recommend skipping if the relevant platform section of the pubspec doesn't contain This line is an example of what indicates that there must be native code. Plugins without that line either have native code in a dependency, or have no native code for that platform (e.g., use FFI). |
That makes a lot more sense. Updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-LGTM!
Fixes: #1419