feat: Add Swift Package Manager support for iOS and macOS#493
feat: Add Swift Package Manager support for iOS and macOS#493vasu-nageshri wants to merge 1 commit into
Conversation
Migrate plugin sources to SPM-compatible directory structure and add Package.swift for iOS and macOS with FlutterFramework dependency.
e2922fe to
cbd6e11
Compare
|
Thanks for tackling this — the overall approach is right: 1. macOS: duplicate class + infinite recursion (build/runtime breaker). + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {
[AudioWaveformsPlugin registerWithRegistrar:registrar]; // recurses into the Obj-C class
}Please mirror the iOS change on macOS: delete 2. Flutter SDK constraint is too low. The 3. iOS deployment target mismatch. |
Description
Migrate plugin sources to SPM-compatible directory structure and add Package.swift for iOS and macOS with FlutterFramework dependency.
Checklist
fix:,feat:,docs:etc).docsand added dartdoc comments with///.examplesordocs.Breaking Change?
Related Issues
Closes #492