提交 a5965975 作者: edy

feat: fix

上级 aa8942b8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# platform :ios, '12.0' # platform :ios, '12.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency. # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
source 'https://github.com/CocoaPods/Specs.git' source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
source 'https://github.com/volcengine/volcengine-specs.git' source 'https://github.com/volcengine/volcengine-specs.git'
ENV['COCOAPODS_DISABLE_STATS'] = 'true' ENV['COCOAPODS_DISABLE_STATS'] = 'true'
......
...@@ -74,7 +74,8 @@ ...@@ -74,7 +74,8 @@
SpeechResourceManager *speechResourceManager = [SpeechResourceManager shareInstance]; SpeechResourceManager *speechResourceManager = [SpeechResourceManager shareInstance];
[speechResourceManager setAppId:appId]; [speechResourceManager setAppId:appId];
[speechResourceManager setAppVersion:@"1.0.0"]; [speechResourceManager setAppVersion:@"1.0.0"];
// [speechResourceManager setDeviceId:self.deviceID];
[speechResourceManager setDeviceId:[[[UIDevice currentDevice] identifierForVendor] UUIDString]];
[speechResourceManager setRootPath: [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES).firstObject stringByAppendingPathComponent:@"models"]]; [speechResourceManager setRootPath: [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES).firstObject stringByAppendingPathComponent:@"models"]];
[speechResourceManager setOnlineModelEnable:YES]; [speechResourceManager setOnlineModelEnable:YES];
[speechResourceManager setup]; [speechResourceManager setup];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论