Skip to content

Add Swift Package Manager support#402

Merged
gdelataillade merged 4 commits into
mainfrom
add-spm-support
Jun 13, 2026
Merged

Add Swift Package Manager support#402
gdelataillade merged 4 commits into
mainfrom
add-spm-support

Conversation

@gdelataillade

Copy link
Copy Markdown
Owner

gdelataillade and others added 3 commits June 12, 2026 18:24
The CodeCanvas diagram pinned source files by path and broke when the
iOS sources moved to the Swift Package Manager layout. Drop the workflow
and its diagram artifact rather than maintain the stale linkage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
… import

- Rename the library product from "alarm-alarm" to "alarm": flutter_tools
  generates a dependency on a product named after the plugin, so SPM
  resolution failed with "product 'alarm' not found in package 'alarm'".
- Add the FlutterFramework dependency required by Flutter 3.44+, which
  removes the "missing a dependency on FlutterFramework" build warning.
- Import UIKit explicitly in AppTerminateManager: the CocoaPods umbrella
  header masked the missing import, but the SPM build failed on it.
- Raise the minimum Flutter version to 3.41.0 per the SPM plugin-author
  docs, since older Flutter versions don't generate FlutterFramework.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gdelataillade
gdelataillade merged commit 81fc400 into main Jun 13, 2026
1 check passed
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.

1 participant