Skip to content

Version 7.3.0 does not build for macOS when using SPM instead of cocoapods #662

@gabrielgarciagava

Description

@gabrielgarciagava

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions