-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Speech framework is not compatible with macOS < 10.15 #12
Comments
I am also experiencing this issue on a Mac running macOS 10.14.6. Speech/Speech.h is not found.
|
This shouldn't be mediated by the version of macOS - you need to be building against the 10.15 SDK. You can run this on any version of macOS as long as you built against the right SDK i'm fairly certain 🤔 |
@codebytere Thanks for the tip! I'm having some trouble finding those SDKs. I did some searching and found developer.apple.com/download/more/ and can't seem to find any "SDKs". I also only see "Kernal Debug Kits" referencing version # "10.15". I also tried finding ways to update/add sdk's in Xcode but no luck. Maybe I'm missing something. Any idea where to get the sdk? EDIT: Acutally the Kernal Debug Kits might be what I'm looking for. I'm going to try this now. EDIT #2: The Kernal Debug Kit did not work unfortunately. |
Try setting this for targetting the latest MacOS SDK that is installed. Works locally for my electron mac universal builds
For Github actions, another potential route I've read of is:
I'd imagine a similar env setup would be possible on TravisCI |
We build with a macOS 10.14 image on Travis, permissions.mm fails to build because Speech/Speech.h is not found.
Need to wrap with compiler directives:
#if AVAILABLE_MAC_OS_X_VERSION_10_15_AND_LATER
And remove ld flag, -frameworks Speech for anything less than 10.15
The text was updated successfully, but these errors were encountered: