mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-20 06:37:40 +00:00
Merge pull request #3103 from keymanapp/fix/ios/oem/cherry/system-keyboard-load
fix(ios/oem): Fixes FV app's system keyboard 🍒
This commit is contained in:
commit
2c45e12a38
6 changed files with 19 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
github "marmelroy/Zip"
|
||||
github "DaveWoodCom/XCGLogger" ~> 6.1.0
|
||||
github "dennisweissmann/DeviceKit" ~> 1.11
|
||||
github "dennisweissmann/DeviceKit" ~> 2.3
|
||||
github "ashleymills/Reachability.swift"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
github "DaveWoodCom/XCGLogger" "6.1.0"
|
||||
github "ashleymills/Reachability.swift" "v4.3.1"
|
||||
github "dennisweissmann/DeviceKit" "1.13.0"
|
||||
github "dennisweissmann/DeviceKit" "2.3.0"
|
||||
github "marmelroy/Zip" "1.1.0"
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
98C9A8F01BFBF6C1009E9A4F /* banner-Portrait@2x~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 98C9A8E51BFBF6C1009E9A4F /* banner-Portrait@2x~ipad.png */; };
|
||||
98C9A8F11BFBF6C1009E9A4F /* banner-Portrait@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 98C9A8E61BFBF6C1009E9A4F /* banner-Portrait@3x.png */; };
|
||||
98C9A8F21BFBF6C1009E9A4F /* banner-Portrait~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 98C9A8E71BFBF6C1009E9A4F /* banner-Portrait~ipad.png */; };
|
||||
CECB62572463E9FA006E47B5 /* DeviceKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 37150F6D231637E900C73C6A /* DeviceKit.framework */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXCopyFilesBuildPhase section */
|
||||
|
|
@ -138,6 +139,10 @@
|
|||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
37EA1F20228A183E003E710C /* KeymanEngine.framework in Frameworks */,
|
||||
3729344024613C9900C5428C /* ObjcExceptionBridging.framework in Frameworks */,
|
||||
3729344124613CA700C5428C /* XCGLogger.framework in Frameworks */,
|
||||
CECB62572463E9FA006E47B5 /* DeviceKit.framework in Frameworks */,
|
||||
3729344324613CC200C5428C /* Zip.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ class FVRegionStorage {
|
|||
|
||||
let keyboard: InstallableKeyboard = InstallableKeyboard.init(id: kb.id,
|
||||
name: kb.name,
|
||||
languageID: keyboardInfo.languages.keys[keyboardInfo.languages.startIndex],
|
||||
languageID: keyboardInfo.languages[keyboardInfo.languages.startIndex],
|
||||
languageName: kb.name,
|
||||
version: keyboardInfo.version,
|
||||
isRTL: false,
|
||||
|
|
|
|||
|
|
@ -17,17 +17,12 @@ import Foundation
|
|||
// display and install the keyboard into Keyman Engine. Most of the data
|
||||
// in the files is ignored.
|
||||
//
|
||||
struct KeyboardInfoLanguage: Decodable {
|
||||
let displayName: String
|
||||
let languageName: String
|
||||
let scriptName: String
|
||||
}
|
||||
|
||||
struct KeyboardInfo: Decodable {
|
||||
let id: String
|
||||
let version: String
|
||||
let name: String
|
||||
let languages: [String:KeyboardInfoLanguage]
|
||||
let languages: [String]
|
||||
}
|
||||
|
||||
class KeyboardInfoParser {
|
||||
|
|
|
|||
|
|
@ -103,7 +103,16 @@ done
|
|||
# Build Keyman Engine
|
||||
#
|
||||
|
||||
KEYMAN_ENGINE_FRAMEWORK_SRC="$KMEI_BUILD_DIR/build/Build/Products/$CONFIG-iphoneos/KeymanEngine.framework"
|
||||
if [ $CONFIG = "Debug" ]; then
|
||||
# When doing a debug run, we'd like to be able to run the result in the Simulator.
|
||||
# 'universal' can be run both on real devices and in the simulator.
|
||||
PLATFORM_TARGET="universal"
|
||||
else
|
||||
# Actual release builds can't have Simulator-targeted content; Apple will block the submission.
|
||||
PLATFORM_TARGET="iphoneos"
|
||||
fi
|
||||
|
||||
KEYMAN_ENGINE_FRAMEWORK_SRC="$KMEI_BUILD_DIR/build/Build/Products/$CONFIG-$PLATFORM_TARGET/KeymanEngine.framework"
|
||||
KEYMAN_ENGINE_FRAMEWORK_DST=./
|
||||
|
||||
if [ $DO_UPDATE = true ]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue