chore(typing): snapshot local pinyin WIP before syncing cloud branch

Preserve the in-progress local typing/pinyin implementation so feat/pinyin
can safely reset to origin/feat/pinyin (cloud English + Chinese typing).
This commit is contained in:
Rocky
2026-08-03 13:14:01 +08:00
parent c037be3654
commit d1e5fed964
58 changed files with 370539 additions and 121 deletions
+25 -3
View File
@@ -32,6 +32,9 @@ options:
packages:
MLXAudio:
path: ThirdParty/mlx-audio-swift
Librime:
url: https://github.com/ghostflyby/librime-xcframework.git
exactVersion: 1.17.0-pack.1
settings:
base:
@@ -48,8 +51,8 @@ settings:
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS: YES
STRING_CATALOG_GENERATE_SYMBOLS: YES
CLANG_CXX_LANGUAGE_STANDARD: c++17
MARKETING_VERSION: "1.1"
CURRENT_PROJECT_VERSION: "32"
MARKETING_VERSION: "1.5.0"
CURRENT_PROJECT_VERSION: "33"
# 签名配置来自 Signing.local.xcconfiggitignored,不会被覆盖)
# 项目级签名 xcconfig,适用于所有 target
@@ -233,6 +236,7 @@ targets:
- path: OSGKeyboardExt/zh-Hans.lproj/Keyboard.strings
buildPhase: resources
resources:
- path: OSGKeyboardExt/Assets.xcassets
- path: OSGKeyboardExt/PrivacyInfo.xcprivacy
settings:
base:
@@ -312,7 +316,6 @@ targets:
- sdk: SwiftUI.framework
- sdk: ActivityKit.framework
# =========================================================
# Shared Framework (主 App 与扩展共用)
# =========================================================
OSGKeyboardShared:
@@ -328,10 +331,24 @@ targets:
buildPhase: resources
- path: OSGKeyboardShared/zh-Hans.lproj/Shared.strings
buildPhase: resources
- path: OSGRimeBridge
excludes:
- "include/**"
resources:
- path: OSGKeyboardShared/Resources/CustomLanguageModel/v1/OSGKeyboardCLM.bin
- path: OSGKeyboardShared/Resources/CustomLanguageModel/v1/compiled-manifest.json
- path: OSGKeyboardShared/Resources/LocalASR/local-asr-catalog.json
- path: OSGKeyboardShared/Resources/Typing/NOTICE.txt
- path: OSGKeyboardShared/Resources/Typing/LICENSE.txt
- path: OSGKeyboardShared/Resources/Typing/LICENSE-PINYIN-SIMP-APACHE.txt
- path: OSGKeyboardShared/Resources/Typing/LICENSE-JIEBA-MIT.txt
- path: OSGKeyboardShared/Resources/Typing/LICENSE-PHRASE-PINYIN-DATA-MIT.txt
- path: OSGKeyboardShared/Resources/Typing/LICENSE-PINYIN-DATA-MIT.txt
- path: OSGKeyboardShared/Resources/Typing/THIRD_PARTY_NOTICES.md
- path: OSGKeyboardShared/Resources/Typing/third-party-notices.zip
- path: OSGKeyboardShared/Resources/Typing/LIBRIME-COMBINED-NOTICES.txt
- path: OSGKeyboardShared/Resources/Typing/Rime/osg_pinyin.dict.yaml
- path: OSGKeyboardShared/Resources/Typing/Rime/manifest.json
info:
path: OSGKeyboardShared/Info.plist
settings:
@@ -343,6 +360,9 @@ targets:
BUILD_LIBRARY_FOR_DISTRIBUTION: NO
DYLIB_INSTALL_NAME_BASE: "@rpath"
APPLICATION_EXTENSION_API_ONLY: YES
SWIFT_OBJC_BRIDGING_HEADER: OSGRimeBridge/include/OSGRimeBridge.h
CLANG_ENABLE_MODULES: YES
OTHER_CPLUSPLUSFLAGS: "$(inherited) -fmodules -fcxx-modules"
ENABLE_MODULE_VERIFIER: YES
# Embedded frameworks are re-signed by the containing app at package
# time. Signing this framework as a standalone build product is noisy
@@ -351,6 +371,8 @@ targets:
CODE_SIGNING_REQUIRED: NO
CODE_SIGN_IDENTITY: ""
dependencies:
- package: Librime
product: RimeStatic
- sdk: Speech.framework
- sdk: AVFoundation.framework
- sdk: Charts.framework