Commit 2ad7db3
committed
feat: add Swift Package Manager support - Phase 2
- 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.1 parent e338292 commit 2ad7db3
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments