-
-
Notifications
You must be signed in to change notification settings - Fork 194
Add support for Swift package manager #573
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
base: dev
Are you sure you want to change the base?
Conversation
This also excludes generated iOS files from version control when running "flutter run -d macos"
I think I have missed something, |
Yeah. Considering that SPM isn’t enabled by default, we should probably describe how to enable it in that section as well. |
We can either include the command to enable it or point to this link: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers#how-to-turn-on-swift-package-manager. |
Yeah, maybe pointing to the link is preferable just in case anything changes in the future. |
So when users include the I think we need to update README to:
|
Swift Package Manager support
This PR is the same as macosui/macos_window_utils.dart#66 but for
macos_ui
.The PRs Adrian-Samoticha/appkit_ui_element_colors#2 and macosui/macos_window_utils.dart#66, in addition to this one, make changes for
macos_ui
and its plugin dependencies to support the Swift package manager without using CocoaPods.Testing
pubspec.yaml
:flutter pub get
in your app project, and you should be able to build without CocoaPods integration or CocoaPods installed on your system.flutter pub upgrade
to ensure the transitive dependency appkit_ui_element_colors is1.0.1
or newer (to ensure Add support for Swift package manager Adrian-Samoticha/appkit_ui_element_colors#2 is applied).Related Issues
Pre-launch Checklist
CHANGELOG.md
with my changes