Migrate example iOS app to Swift Package Manager#511
Merged
Conversation
mvanbeusekom
approved these changes
Jul 20, 2026
Remove CocoaPods integration now that all plugins support SPM, and keep Flutter's generated Swift package wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
rickdijk
force-pushed
the
chore/example-ios-spm-remove-cocoapods
branch
from
July 20, 2026 15:09
2436224 to
3cca888
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Chore / build tooling update for the example iOS app.
On Flutter 3.44, building the example for iOS warns that all plugins are Swift Packages but the project still has CocoaPods integration. Flutter treats the example Podfile as non-standard (it includes
use_modular_headers!), so CocoaPods is not removed automatically.🆕 What is the new behavior (if this is a feature change)?
Podfile, Pods xcconfig includes,pod deintegrate)FlutterGeneratedPluginSwiftPackage, prepare pre-action).build/and.swiftpm/in the example.gitignore💥 Does this PR introduce a breaking change?
No. Changes are limited to the example iOS project.
🐛 Recommendations for testing
flutter_cache_manager/example, runfvm flutter build ios --no-codesign📝 Links to relevant issues/docs
🤔 Checklist before submitting
Made with Cursor