fix: clarify talk mode simulator limits (#1358) (thanks @vignesh07)

This commit is contained in:
Peter Steinberger committed 2026-01-21 05:41:40 +00:00
1 parent 6f42c623b9
commit b02c47043d
8 files changed
+39 -12

No files matched your search

+2 -1
View File
@@ -133,8 +133,9 @@ final class TalkModeManager: NSObject {
private func startRecognition() throws {
#if targetEnvironment(simulator)
// Apple Speech live-audio recognition is not supported on Simulator.
throw NSError(domain: "TalkMode", code: 2, userInfo: [
NSLocalizedDescriptionKey: "Talk mode is not supported on the iOS simulator",
NSLocalizedDescriptionKey: "Talk mode is not supported on the iOS simulator (Speech live audio requires a device).",
])
#endif