Skip to content

Conversation

@loic-sharma
Copy link
Member

This relands #158897 without any changes. This was reverted due to a postsubmit failure, which was fixed by #161464. Below is the original pull request's description.

This splits the Swift Package Manager feature in two:

  1. SwiftPM feature: This builds plugins using SwiftPM (if the app supports it), and, uses the new app & plugin templates that support SwiftPM
  2. SwiftPM app migration feature: this updates an existing Flutter iOS or macOS app to support Swift Package Manager. This feature requires the SwiftPM feature - if SwiftPM is off, the app migration is also off.

For now, both features are off by default. We plan to turn on the first feature in the next stable release. The app migration feature will be stay off by default until we have higher confidence in the migration.

See this mini design doc: #151567 (comment)

Here's the PR that updates the SwiftPM docs: flutter/website#11495

Part of #151567

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added tool Affects the "flutter" command-line tool. See also t: labels. a: desktop Running on desktop labels Jan 17, 2025
@loic-sharma loic-sharma force-pushed the reland_spm_migration_flag branch from 4428004 to fa00787 Compare January 18, 2025 02:22
@loic-sharma loic-sharma marked this pull request as ready for review January 21, 2025 22:44
Copy link
Contributor

@andrewkolos andrewkolos left a comment

Choose a reason for hiding this comment

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

LGTM

@loic-sharma
Copy link
Member Author

We're considering some changes to the Swift Package Manager integration. I'll convert this to a draft while we evaluate this new option.

@loic-sharma loic-sharma marked this pull request as draft January 24, 2025 17:43
@Piinks
Copy link
Contributor

Piinks commented Mar 25, 2025

@loic-sharma greetings from stale PR triage! Do you have plans to continue work on this one? :)

@loic-sharma
Copy link
Member Author

Closing this off for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: desktop Running on desktop tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants