Using the Say speech , code signing entitlements

HI I can succesfully call the say command in a terminal window to use text to speech (e.g , in a terminal window: say "test" ) i.e calling that function from a program

but If i code sign that program for the apple store then it errors: Open speech channel failed: -915

I presume I will need to add an entitlement flag to code sign against I tried com.apple.developer.siri but that did not work Thanks for any help! Brian

Taking a step back, why would you run the say tool rather than use one of the native speech APIs, like NSSpeechSynthesizer?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi Oh excellent, that looks like the path I need to take, thanks very much!

Bingo! I got it working!

Using the Say speech , code signing entitlements
 
 
Q