Bug 16543 - NSSpeechSynthesizer is not working on OSx 10.9 (Mavericks)
Summary: NSSpeechSynthesizer is not working on OSx 10.9 (Mavericks)
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.6.19
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
URL:
: 16544 ()
Depends on:
Blocks:
 
Reported: 2013-12-02 05:06 UTC by home
Modified: 2013-12-02 14:19 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DOWNSTREAM

Description home 2013-12-02 05:06:04 UTC
My app has failed when I tested on Mavericks.

The save to url on NSSpeechSynthesizer don’t work on Mavericks and it doesn’t do anything. It works on all other platfroms (10.6 - 10.7)

To recreate a small sample.
Create Xamarin.Mac solution (on Mavericks, or compile on another OS and copy the binaries to mavericks)
Override AwakeFromNib
Type this code
var synthesizer = new NSSpeechSynthesizer ();
// synthesizer.StartSpeakingString ("hello”); // this works
var res =synthesizer.StartSpeakingStringtoURL("test hello", new NSUrl("test")); // this does not create the file (check the file and it is not there, if you create the delegate it doesn’t get called either

Console.WriteLine(res ? "fine" : "fail"); // prints fail
This is a very important issue, as it is stopping me from releasing. And this is part of official OSx SDK, and it should be supported.

Any assistance or workaround on resolution would be appreciated
Comment 1 Mike James 2013-12-02 05:12:32 UTC
*** Bug 16544 has been marked as a duplicate of this bug. ***
Comment 2 home 2013-12-02 14:19:14 UTC
The issue turned out the be the constructor of NSUrl. I guess they must have changed it and it defaults to web address. 

   new NSUrl("test", false));

resolves the issue!! How annoying!