From fcd52cf14930009e35cbe1ba7b6b1edd4da7c213 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Thu, 15 Sep 2022 14:05:32 +0800 Subject: [PATCH] Remove debug --- .../Sources/Services/AudioSession/SpeechSynthesizer.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/Services/AudioSession/SpeechSynthesizer.swift b/apple/OmnivoreKit/Sources/Services/AudioSession/SpeechSynthesizer.swift index 676c0d116..290f0b483 100644 --- a/apple/OmnivoreKit/Sources/Services/AudioSession/SpeechSynthesizer.swift +++ b/apple/OmnivoreKit/Sources/Services/AudioSession/SpeechSynthesizer.swift @@ -187,7 +187,6 @@ func fetchUtterance(appEnvironment: AppEnvironment, if let ssml = try utterance.toSSML(document: document) { request.httpBody = ssml - print("FETCHING: ", String(decoding: ssml, as: UTF8.self)) } for (header, value) in networker.defaultHeaders { @@ -219,7 +218,6 @@ func fetchUtterance(appEnvironment: AppEnvironment, try audioData.write(to: tempPath) try? FileManager.default.removeItem(at: audioPath) try FileManager.default.moveItem(at: tempPath, to: audioPath) - print("wrote", audioData.count, "bytes to", audioPath) } catch { let errorMessage = "audioFetch failed. could not write MP3 data to disk" throw BasicError.message(messageText: errorMessage)