Merged
Conversation
- Create SPM-compliant directory structure: Sources/workmanager_apple/ - Move all Swift files from Classes/ to Sources/workmanager_apple/ - Preserve pigeon subdirectory structure - Update podspec to reference new file locations: Sources/workmanager_apple/**/* - Update Pigeon configuration to generate Swift files in new location - Add comprehensive SPM migration plan documentation ✅ Verified: CocoaPods builds successfully with new structure ✅ Backward compatibility: No breaking changes for existing users This prepares the foundation for Swift Package Manager support while maintaining full CocoaPods compatibility.
- Add Package.swift with iOS 14+ target and proper resource handling - Configure SPM target for workmanager_apple with Sources/workmanager_apple path - Include Resources/PrivacyInfo.xcprivacy processing for SPM - Support Swift tools version 5.9 ✅ Verified: SPM builds successfully with flutter config --enable-swift-package-manager ✅ Verified: CocoaPods backward compatibility maintained ✅ Verified: Both dependency managers work independently Users can now choose their preferred dependency manager: - CocoaPods: flutter config --no-enable-swift-package-manager - SPM: flutter config --enable-swift-package-manager This completes the core SPM migration while maintaining full backward compatibility.
Integrates Swift Package Manager testing into the examples.yml workflow: - Matrix build strategy tests both dependency managers - SPM build removes Podfile for pure testing - Maintains backward compatibility with CocoaPods 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
To view this pull requests documentation preview, visit the following URL: docs.page/fluttercommunity/flutter_workmanager~631 Documentation is deployed and generated using docs.page. |
Reverts unintended changes to Podfile that were accidentally included in the previous commit
- Apply swiftlint fixes to Package.swift - Apply dart formatting to workmanager_api.dart - Update Podfile.lock checksum after iOS build
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.
Summary
Fixes #580
Breaking Changes
None - maintains full backward compatibility with existing CocoaPods workflows.