add TencentTTS

This commit is contained in:
oscarz
2024-08-30 17:46:21 +08:00
parent 27c160beaf
commit 487aead433
30 changed files with 1558 additions and 14 deletions

View File

@ -25,6 +25,8 @@
5509CEF12BB54DD10056C5C2 /* Config.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5509CEF02BB54DD10056C5C2 /* Config.swift */; };
550B85A22C2BC624008834E5 /* InitAPP.swift in Sources */ = {isa = PBXBuildFile; fileRef = 550B85A12C2BC623008834E5 /* InitAPP.swift */; };
551C8C342C79946700B1A88C /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 551C8C332C79946700B1A88C /* GoogleService-Info.plist */; };
555027392C81C0ED00A05441 /* QCloudTTS.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 555027382C81C0ED00A05441 /* QCloudTTS.xcframework */; };
5586E0882C80AD2D00026733 /* TTSManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5586E0872C80AD2D00026733 /* TTSManager.swift */; };
559E6D7C2C34EAE700C971B9 /* IapManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 559E6D7B2C34EAE700C971B9 /* IapManager.swift */; };
559E6D7E2C35355200C971B9 /* LogManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 559E6D7D2C35355200C971B9 /* LogManager.swift */; };
55A954A22BBBFD0C00BF181E /* GrammarData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55A954A12BBBFD0C00BF181E /* GrammarData.swift */; };
@ -88,6 +90,9 @@
5509CEF02BB54DD10056C5C2 /* Config.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Config.swift; sourceTree = "<group>"; };
550B85A12C2BC623008834E5 /* InitAPP.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InitAPP.swift; sourceTree = "<group>"; };
551C8C332C79946700B1A88C /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
555027382C81C0ED00A05441 /* QCloudTTS.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = QCloudTTS.xcframework; sourceTree = "<group>"; };
5586E0832C8092C400026733 /* AIGrammar-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "AIGrammar-Bridging-Header.h"; sourceTree = "<group>"; };
5586E0872C80AD2D00026733 /* TTSManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TTSManager.swift; sourceTree = "<group>"; };
559E6D7B2C34EAE700C971B9 /* IapManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IapManager.swift; sourceTree = "<group>"; };
559E6D7D2C35355200C971B9 /* LogManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LogManager.swift; sourceTree = "<group>"; };
55A954A12BBBFD0C00BF181E /* GrammarData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GrammarData.swift; sourceTree = "<group>"; };
@ -118,6 +123,7 @@
55BC474F2C3A4E5E00120A7D /* ToastUI in Frameworks */,
67F268687FCD2E4F2F4462C0 /* Pods_AIGrammar.framework in Frameworks */,
55EF5C3E2C2263460060CE47 /* StoreKit.framework in Frameworks */,
555027392C81C0ED00A05441 /* QCloudTTS.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -177,6 +183,8 @@
5500A38E2BB3C7E80065A1D3 /* AIGrammar */ = {
isa = PBXGroup;
children = (
5586E0842C8093DF00026733 /* third-party */,
5586E0832C8092C400026733 /* AIGrammar-Bridging-Header.h */,
55BC47472C3A380C00120A7D /* CommView */,
55C73D7E2C157C2200041C66 /* AIGrammar.entitlements */,
55DAC6532BBA956100BDD4C8 /* GrammarSubView */,
@ -240,6 +248,7 @@
559E6D7B2C34EAE700C971B9 /* IapManager.swift */,
559E6D7D2C35355200C971B9 /* LogManager.swift */,
55E4E8F42C60CFFC00988503 /* CommFunc.swift */,
5586E0872C80AD2D00026733 /* TTSManager.swift */,
);
path = lib;
sourceTree = "<group>";
@ -253,6 +262,14 @@
path = ViewModel;
sourceTree = "<group>";
};
5586E0842C8093DF00026733 /* third-party */ = {
isa = PBXGroup;
children = (
555027382C81C0ED00A05441 /* QCloudTTS.xcframework */,
);
path = "third-party";
sourceTree = "<group>";
};
55BC47472C3A380C00120A7D /* CommView */ = {
isa = PBXGroup;
children = (
@ -551,6 +568,7 @@
5500A3922BB3C7E80065A1D3 /* ContentView.swift in Sources */,
55BB127D2BBD6D0600D2BEA4 /* CameraView.swift in Sources */,
559E6D7C2C34EAE700C971B9 /* IapManager.swift in Sources */,
5586E0882C80AD2D00026733 /* TTSManager.swift in Sources */,
55EF5C3C2C2250900060CE47 /* IAPTestView.swift in Sources */,
5500A3902BB3C7E80065A1D3 /* AIGrammarApp.swift in Sources */,
5500A39C2BB3C7EB0065A1D3 /* AIGrammar.xcdatamodeld in Sources */,
@ -724,6 +742,13 @@
DEVELOPMENT_ASSET_PATHS = "\"AIGrammar/Preview Content\"";
DEVELOPMENT_TEAM = G8UMWM9TLL;
ENABLE_PREVIEWS = YES;
EXCLUDED_ARCHS = x86_64;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/AIGrammar/third-party",
"$(PROJECT_DIR)/AIGrammar/third-party/ios-arm64_armv7",
"$(PROJECT_DIR)/AIGrammar/third-party/ios-arm64_i386_x86_64-simulator",
);
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = EasyGrammar;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
@ -738,11 +763,91 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"sqlite3\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"CFNetwork\"",
"-framework",
"\"CoreTelephony\"",
"-framework",
"\"Cryptor\"",
"-framework",
"\"CryptorECC\"",
"-framework",
"\"CryptorRSA\"",
"-framework",
"\"FBLPromises\"",
"-framework",
"\"FirebaseABTesting\"",
"-framework",
"\"FirebaseAnalytics\"",
"-framework",
"\"FirebaseCore\"",
"-framework",
"\"FirebaseCoreExtension\"",
"-framework",
"\"FirebaseCoreInternal\"",
"-framework",
"\"FirebaseCrashlytics\"",
"-framework",
"\"FirebaseInstallations\"",
"-framework",
"\"FirebasePerformance\"",
"-framework",
"\"FirebaseRemoteConfig\"",
"-framework",
"\"FirebaseRemoteConfigInterop\"",
"-framework",
"\"FirebaseSessions\"",
"-framework",
"\"FirebaseSharedSwift\"",
"-framework",
"\"Foundation\"",
"-framework",
"\"GoogleAppMeasurement\"",
"-framework",
"\"GoogleAppMeasurementIdentitySupport\"",
"-framework",
"\"GoogleDataTransport\"",
"-framework",
"\"GoogleUtilities\"",
"-framework",
"\"KituraContracts\"",
"-framework",
"\"LoggerAPI\"",
"-framework",
"\"Logging\"",
"-framework",
"\"Promises\"",
"-framework",
"\"Security\"",
"-framework",
"\"StoreKit\"",
"-framework",
"\"SwiftJWT\"",
"-framework",
"\"SwiftyBeaver\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"TrustDecision\"",
"-framework",
"\"UIKit\"",
"-framework",
"\"nanopb\"",
);
PRODUCT_BUNDLE_IDENTIFIER = com.easyprompts.aigrammar;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "$(SRCROOT)/AIGrammar/AIGrammar-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
};
@ -760,6 +865,13 @@
DEVELOPMENT_ASSET_PATHS = "\"AIGrammar/Preview Content\"";
DEVELOPMENT_TEAM = G8UMWM9TLL;
ENABLE_PREVIEWS = YES;
EXCLUDED_ARCHS = x86_64;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/AIGrammar/third-party",
"$(PROJECT_DIR)/AIGrammar/third-party/ios-arm64_armv7",
"$(PROJECT_DIR)/AIGrammar/third-party/ios-arm64_i386_x86_64-simulator",
);
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = EasyGrammar;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
@ -774,11 +886,92 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
"-l\"c++\"",
"-l\"sqlite3\"",
"-l\"z\"",
"-framework",
"\"Alamofire\"",
"-framework",
"\"CFNetwork\"",
"-framework",
"\"CoreTelephony\"",
"-framework",
"\"Cryptor\"",
"-framework",
"\"CryptorECC\"",
"-framework",
"\"CryptorRSA\"",
"-framework",
"\"FBLPromises\"",
"-framework",
"\"FirebaseABTesting\"",
"-framework",
"\"FirebaseAnalytics\"",
"-framework",
"\"FirebaseCore\"",
"-framework",
"\"FirebaseCoreExtension\"",
"-framework",
"\"FirebaseCoreInternal\"",
"-framework",
"\"FirebaseCrashlytics\"",
"-framework",
"\"FirebaseInstallations\"",
"-framework",
"\"FirebasePerformance\"",
"-framework",
"\"FirebaseRemoteConfig\"",
"-framework",
"\"FirebaseRemoteConfigInterop\"",
"-framework",
"\"FirebaseSessions\"",
"-framework",
"\"FirebaseSharedSwift\"",
"-framework",
"\"Foundation\"",
"-framework",
"\"GoogleAppMeasurement\"",
"-framework",
"\"GoogleAppMeasurementIdentitySupport\"",
"-framework",
"\"GoogleDataTransport\"",
"-framework",
"\"GoogleUtilities\"",
"-framework",
"\"KituraContracts\"",
"-framework",
"\"LoggerAPI\"",
"-framework",
"\"Logging\"",
"-framework",
"\"Promises\"",
"-framework",
"\"Security\"",
"-framework",
"\"StoreKit\"",
"-framework",
"\"SwiftJWT\"",
"-framework",
"\"SwiftyBeaver\"",
"-framework",
"\"SystemConfiguration\"",
"-framework",
"\"TrustDecision\"",
"-framework",
"\"UIKit\"",
"-framework",
"\"nanopb\"",
);
PRODUCT_BUNDLE_IDENTIFIER = com.easyprompts.aigrammar;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "$(SRCROOT)/AIGrammar/AIGrammar-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
};

View File

@ -4,7 +4,8 @@
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
@ -62,7 +63,9 @@
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
allowLocationSimulation = "YES"
consoleMode = "0"
structuredConsoleMode = "1">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference