ERROR: ETTS DOES NOT SUPPORT SIMULATOR/nofflineError offlineError offlineError offlineError = Optional("Offline engine was not properly configured")
Printing description of offlineEngineSpeechData:
▿ Optional
- some : "/Users/mac/Library/Developer/CoreSimulator/Devices/86D3A7DC-FF05-46EA-8FDA-99D9F166F96B/data/Containers/Bundle/Application/D2BA8BF1-1C75-4801-B913-13D874200ABE/Lianzai.app/Chinese_And_English_Speech_DYY.dat"
Printing description of offlineEngineTextData:
▿ Optional
- some : "/Users/mac/Library/Developer/CoreSimulator/Devices/86D3A7DC-FF05-46EA-8FDA-99D9F166F96B/data/Containers/Bundle/Application/D2BA8BF1-1C75-4801-B913-13D874200ABE/Lianzai.app/Chinese_And_English_Text.dat"
Printing description of offlineError:
▿ Optional
- some : Error Domain=BDTTSErrDomainSDKInternal Code=13828098 "Offline engine was not properly configured" UserInfo={NSLocalizedDescription=Offline engine was not properly configured}
Error Domain=BDTTSErrDomainEmbeddedTTS Code=13828094 "Embedded engine is not initialized (This error may be a follow up to a previous failed attempt to load offline engine)" UserInfo={NSLocalizedDescription=Embedded engine is not initialized (This error may be a follow up to a previous failed attempt to load offline engine)} 昨天断点模式查看,断网之后报上面的错误,离线模式未初始化成功
Error Domain=BDTTSErrDomainEmbeddedTTS Code=13828094 "Embedded engine is not initialized (This error may be a follow up to a previous failed attempt to load offline engine)" UserInfo={NSLocalizedDescription=Embedded engine is not initialized (This error may be a follow up to a previous failed attempt to load offline engine)}
ERROR: ETTS DOES NOT SUPPORT SIMULATOR/nofflineError offlineError offlineError offlineError = Optional("Offline engine was not properly configured")
Printing description of offlineEngineSpeechData:
▿ Optional
- some : "/Users/mac/Library/Developer/CoreSimulator/Devices/86D3A7DC-FF05-46EA-8FDA-99D9F166F96B/data/Containers/Bundle/Application/D2BA8BF1-1C75-4801-B913-13D874200ABE/Lianzai.app/Chinese_And_English_Speech_DYY.dat"
Printing description of offlineEngineTextData:
▿ Optional
- some : "/Users/mac/Library/Developer/CoreSimulator/Devices/86D3A7DC-FF05-46EA-8FDA-99D9F166F96B/data/Containers/Bundle/Application/D2BA8BF1-1C75-4801-B913-13D874200ABE/Lianzai.app/Chinese_And_English_Text.dat"
Printing description of offlineError:
▿ Optional
- some : Error Domain=BDTTSErrDomainSDKInternal Code=13828098 "Offline engine was not properly configured" UserInfo={NSLocalizedDescription=Offline engine was not properly configured}
打印出来的日志是这样的,然后帖子上面很多人说文件的路径不对,可是我检查了路径,在我app项目里面,所以知道如何解决吗?
强烈建议用户首先运行SDK包中的Demo工程,Demo工程中详细说明了语音合成的使用方法,并提供了完整的示例。一般情况下,您只需参照demo工程即可完成所有的集成和配置工作。
如果demo中也有你的错误请反馈。
Error Domain=BDTTSErrDomainEmbeddedTTS Code=13828094 "Embedded engine is not initialized (This error may be a follow up to a previous failed attempt to load offline engine)" UserInfo={NSLocalizedDescription=Embedded engine is not initialized (This error may be a follow up to a previous failed attempt to load offline engine)}
昨天断点模式查看,断网之后报上面的错误,离线模式未初始化成功
这些在文档里都是有说明,请您仔细查看一下.另外如果觉得文档和sdk有错不详细的地方请举例说明。
真的没有说明,你们的sdk说明写的太粗糙了,demo也不是很详细,麻烦你给我详细说明一下如何处理
在sdk里,文档里面有说.
感谢回复,有没有完整的离在线模式的demo,因为我的场景是希望跟安卓的一样,本段合成完之后,断掉网了,可以继续离线合成下面的很多段,不让播放停止,我现在是读完前面未断网时已经合成好的后,直接停止了读
demo在断网后也不能继续播报吗?先测试demo
另外参考下文档和示例 https://ai.baidu.com/docs#/TTS-iOS-SDK/0c6d0937