let debugString = "<speak><emphasis level=\"reduced\">Hello</emphasis></speak>"
let utterance = AVSpeechUtterance(ssmlRepresentation: debugString)! // <--- Freezes
I encountered this bug in iOS 18 beta
I sent a feedback through Feedback app.
Post
Replies
Boosts
Views
Activity
I'm comparing <sub> tags in SSML with iOS16 beta.
AVSpeechSynthesizer adds short pause before and after tag, where Google TTS does not. https://cloud.google.com/text-to-speech/docs/ssml Also it pronunces "." as "period".
let uttreance = AVSpeechUtterance(ssmlRepresentation: "<speak> I can also substitute phrases, like the <sub alias=\"World Wide Web Consortium\">W3C</sub>. </speak>")
The same happens with <phoneme> tags. I think it shouldn't have extra pauses.
I had problem usinng CloudKit (CKQueryOperation, CKOperation) over cellular network. So far I have found out these work arounds.• To use CloudKit over celluar, you need to change -CKOperation.qualityOfService to .UserInitiated or .UserInteractive operation.qualityOfService = .UserInitiatedIf this option is set to .Background (default), a query operation does not respond in iOS9. (you won't get time-out error too.)• iCloud sync over celluar network must be ON. Settings app -> iCloud -> iCloud Drive -> Use Celluar Data -> ON"operation.allowsCellularAccess = true" is not enough.If this option is off, you will get this "offline" error:Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={NSErrorFailingURLStringKey=https://static.gc.apple.com/sap/setup.crt, NSErrorFailingURLKey=https://static.gc.apple.com/sap/setup.crt, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=50, NSLocalizedDescription=The Internet connection appears to be offline.}, NSErrorFailingURLKey: https://static.gc.apple.com/sap/setup.crt, NSDebugDescription: NSURLErrorDomain: -1009, NSLocalizedDescription: The Internet connection appears to be offline., _kCFStreamErrorDomainKey: 1, NSErrorFailingURLStringKey: https://static.gc.apple.com/sap/setup.crt, _kCFStreamErrorCodeKey: 50])references:http://stackoverflow.com/questions/32493698/ios-9-cloudkit-query-does-not-return-anything-while-connected-to-cellular-netwotwitter.com/bobard/status/644986352203751424