feat: Add Swift Package Manager support for iOS and macOS#493
feat: Add Swift Package Manager support for iOS and macOS#493vasu-nageshri-simform wants to merge 1 commit into
Conversation
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. |
Migrate plugin sources to SPM-compatible directory structure and add Package.swift for iOS and macOS with FlutterFramework dependency.
b93e36a to
8312000
Compare
|
Thanks @vasu-nageshri, the macOS shim removal and the deployment-target alignment look good. One thing still outstanding on the SDK constraint: |
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 #485 #484