diff --git a/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj b/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj index 1329b5c2a4..2987c2a16b 100644 --- a/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj +++ b/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj @@ -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"; }; diff --git a/ios/scripts/kme-universal.sh b/ios/scripts/kme-universal.sh index d31c5957de..d4be1e71ec 100755 --- a/ios/scripts/kme-universal.sh +++ b/ios/scripts/kme-universal.sh @@ -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"