fix(ios): XIB errors during compilation

This commit is contained in:
jahorton 2021-05-19 10:23:03 +07:00
parent ec999a239f
commit 84f66631c0
2 changed files with 7 additions and 3 deletions

View file

@ -1607,6 +1607,7 @@
};
C06D37CB1F83204200F61AE0 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
platformFilter = ios;
target = C06D372A1F81F4E100F61AE0 /* KeymanEngine */;
targetProxy = C06D37CA1F83204200F61AE0 /* PBXContainerItemProxy */;
};
@ -1971,6 +1972,7 @@
STRIP_INSTALLED_PRODUCT = NO;
STRIP_STYLE = all;
STRIP_SWIFT_SYMBOLS = NO;
SUPPORTS_MACCATALYST = NO;
};
name = Debug;
};
@ -1980,6 +1982,7 @@
buildSettings = {
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = NO;
};
name = Release;
};
@ -2162,6 +2165,7 @@
buildSettings = {
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = NO;
};
name = "Debug + Sentry";
};

View file

@ -1,8 +1,6 @@
#!/bin/sh
# Enabling the following option will cause build failures due to issues
# with difficult-to-resolve XIB errors in compilation.
#set -e
set -e
set -u
## START STANDARD BUILD SCRIPT INCLUDE
@ -14,6 +12,8 @@ THIS_SCRIPT="$(greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || readlink -f "${BA
SCHEME_NAME="KeymanEngine"
FRAMEWORK_NAME="KeymanEngine"
# CONFIGURATION: one of [Debug, Debug + Sentry, Release]
# - is auto-set by Xcode, is also managed by initial build script
XCFRAMEWORK="${BUILD_DIR}/${CONFIGURATION}/${FRAMEWORK_NAME}.xcframework"
IPHONE_ARCHIVE="${BUILD_DIR}/${CONFIGURATION}-iphoneos/${FRAMEWORK_NAME}.xcarchive"