Skip to content

Conversation

@note11g
Copy link
Owner

@note11g note11g commented Jun 1, 2025

Add Swift Package Manager Support.

resolve #281

related docs: https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-plugin-authors

@note11g note11g changed the base branch from main to dev/1.4.0 June 1, 2025 09:40
@note11g note11g requested a review from Copilot June 1, 2025 09:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds Swift Package Manager support for the flutter_naver_map plugin, updating dependencies and project configurations to work with SPM alongside existing CocoaPods support.

  • Add Flutter imports in various Swift files for SPM compatibility.
  • Create Package.swift and update Package.resolved for managing Swift packages.
  • Update project files (podspec, Xcode project, .gitignore) and remove obsolete Objective-C plugin files.

Reviewed Changes

Copilot reviewed 77 out of 77 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
ios/flutter_naver_map/Sources/flutter_naver_map/controller/overlay/OverlayController.swift Added Flutter import for SPM support
ios/flutter_naver_map/Sources/flutter_naver_map/controller/NaverMapController.swift Added Flutter import for SPM support
ios/flutter_naver_map/Sources/flutter_naver_map/controller/NaverMapControlHandler.swift Added Flutter import for SPM support
ios/flutter_naver_map/Sources/flutter_naver_map/applier/ApplyUtil.swift Added Foundation import for consistency
ios/flutter_naver_map/Package.swift New package manifest with appropriate source files and dependencies
ios/flutter_naver_map/Package.resolved Added for dependency resolution
ios/flutter_naver_map.podspec Podspec update with version bump and source file migration
ios/Classes/FlutterNaverMapPlugin.m & .h Removed obsolete Objective-C plugin files
ios/.gitignore Updated to ignore SPM and build directories
example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved New SPM resolved file in example project
example/ios/Runner.xcscheme Added pre-action script for Flutter framework preparation
example/ios/Runner.xcodeproj/project.pbxproj Updated to integrate Swift package dependencies and adjust build phases
example/ios/.gitignore Updated to ignore additional Swift package files

@note11g note11g merged commit 5a94815 into dev/1.4.0 Jun 1, 2025
@note11g note11g deleted the feature/#281 branch June 1, 2025 16:43
This was referenced Jul 12, 2025
@github-actions github-actions bot mentioned this pull request Jul 15, 2025
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