fix: embed Keyboard.strings in extension bundle for keyboard l10n
XcodeGen merged Localizable.strings into the main app only, so the keyboard extension had no .lproj files and NSLocalizedString returned raw keys. Use a dedicated Keyboard.strings table and explicit buildPhase: resources entries.
This commit is contained in:
+5
-2
@@ -118,9 +118,12 @@ targets:
|
||||
excludes:
|
||||
- "en.lproj"
|
||||
- "zh-Hans.lproj"
|
||||
- path: OSGKeyboardExt/en.lproj/Keyboard.strings
|
||||
buildPhase: resources
|
||||
- path: OSGKeyboardExt/zh-Hans.lproj/Keyboard.strings
|
||||
buildPhase: resources
|
||||
resources:
|
||||
- path: OSGKeyboardExt/en.lproj
|
||||
- path: OSGKeyboardExt/zh-Hans.lproj
|
||||
- path: OSGKeyboardExt/PrivacyInfo.xcprivacy
|
||||
settings:
|
||||
base:
|
||||
IPHONEOS_DEPLOYMENT_TARGET: "26.0"
|
||||
|
||||
Reference in New Issue
Block a user