fix(privacy): add Shared LevelDB PrivacyInfo and bump build to 50

Satisfy ITMS-91061 by shipping PrivacyInfo.xcprivacy inside OSGKeyboardShared.framework for librime's statically linked leveldb.
This commit is contained in:
Rocky
2026-08-06 20:38:31 +08:00
parent e63129b312
commit 9b02e8948c
3 changed files with 34 additions and 1 deletions
+6 -1
View File
@@ -52,7 +52,7 @@ settings:
STRING_CATALOG_GENERATE_SYMBOLS: YES
CLANG_CXX_LANGUAGE_STANDARD: c++17
MARKETING_VERSION: "1.6.2"
CURRENT_PROJECT_VERSION: "47"
CURRENT_PROJECT_VERSION: "50"
# 签名配置来自 Signing.local.xcconfiggitignored,不会被覆盖)
# 项目级签名 xcconfig,适用于所有 target
@@ -350,10 +350,15 @@ targets:
- "zh-Hans.lproj"
- "**/*.swift.example"
- "Resources/**"
- "PrivacyInfo.xcprivacy"
- path: OSGKeyboardShared/en.lproj/Shared.strings
buildPhase: resources
- path: OSGKeyboardShared/zh-Hans.lproj/Shared.strings
buildPhase: resources
# Privacy manifest required for LevelDB statically linked via librime
# (ITMS-91061). Must live in this framework bundle, not only the app/ext.
- path: OSGKeyboardShared/PrivacyInfo.xcprivacy
buildPhase: resources
# Prefer sources+buildPhase over target-level `resources:` — the latter
# was not emitting Copy Bundle Resources entries for this framework.
- path: OSGKeyboardShared/Resources/Typing/English/english_lexicon.tsv