Compilation with SPM is not working because macos code is using code from macos 10.15.
Cocoapods requires macos 11.0 (so it is fine)
SPM requires macos 10.14 (so it does not compile)
/Users/yadayada/.pub-cache/hosted/pub.dev/speech_to_text-7.3.0/darwin/speech_to_text/Sources/speech_to_text/SpeechToTextPlugin.swift:956:48: error: 'SFTranscription' is only available in macOS 10.15 or newer
Compilation with SPM is not working because macos code is using code from macos 10.15.
Cocoapods requires macos 11.0 (so it is fine)
SPM requires macos 10.14 (so it does not compile)
/Users/yadayada/.pub-cache/hosted/pub.dev/speech_to_text-7.3.0/darwin/speech_to_text/Sources/speech_to_text/SpeechToTextPlugin.swift:956:48: error: 'SFTranscription' is only available in macOS 10.15 or newer