Skip to content

chore: support Flutter Swift Package Manager integration for iOS#65

Merged
bingyangchen merged 1 commit into
mainfrom
chores/update-build-metadata
Jun 14, 2026
Merged

chore: support Flutter Swift Package Manager integration for iOS#65
bingyangchen merged 1 commit into
mainfrom
chores/update-build-metadata

Conversation

@bingyangchen

Copy link
Copy Markdown
Owner

Migrate the iOS project configuration to support Flutter's modern Swift Package Manager (SPM) integration for plugins.

Why

With recent Flutter updates, plugin dependencies are increasingly managed via Swift Package Manager instead of CocoaPods. This migration ensures compatibility with Flutter's SPM integration, resolves dependency resolution issues, and prepares the iOS build pipeline for future plugin updates.

Key Changes

  • Enable iOS 13.0 platform in Podfile to meet SPM requirements.
  • Integrate FlutterGeneratedPluginSwiftPackage into the Xcode project.
  • Add a pre-action build script to prepare the Flutter framework before Xcode resolves Swift packages, preventing compilation failures.
  • Transition Google Sign-In and related dependencies to Swift Package Manager.

Made with Cursor

…rations, and integrate Flutter package dependencies

- Uncommented the iOS platform version in the Podfile to ensure compatibility.
- Added references to the FlutterGeneratedPluginSwiftPackage in the Xcode project for improved package management.
- Introduced a new Package.resolved file to manage Swift package dependencies effectively.
- Updated Runner.xcscheme to include a pre-action script for preparing the Flutter framework during build processes.
@bingyangchen bingyangchen self-assigned this Jun 14, 2026
@bingyangchen bingyangchen requested a review from leechai-app June 14, 2026 10:58
@bingyangchen bingyangchen enabled auto-merge (squash) June 14, 2026 10:59
@bingyangchen bingyangchen merged commit 526f963 into main Jun 14, 2026
6 checks passed
@bingyangchen bingyangchen deleted the chores/update-build-metadata branch June 14, 2026 11:00
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