From 534741aff63855ab47d4bbc577389ceb1d5eb06f Mon Sep 17 00:00:00 2001 From: sgschantz Date: Tue, 23 Apr 2024 10:10:13 +0700 Subject: [PATCH] create separate script for setting the version of the bundle --- ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj | 2 +- resources/build/set-bundle-versions.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 resources/build/set-bundle-versions.sh diff --git a/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj b/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj index 0490f26550..b3f1a031f6 100644 --- a/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj +++ b/ios/engine/KMEI/KeymanEngine.xcodeproj/project.pbxproj @@ -1354,7 +1354,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = "/usr/bin/env bash"; - shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n. \"$KEYMAN_ROOT/resources/build/xcode-utils.sh\"\n\nphaseSetBundleVersions true\n"; + shellScript = "\"$KEYMAN_ROOT/resources/build/xcode-wrap.sh\" \"$KEYMAN_ROOT/resources/build/set-bundle-versions.sh\"\n"; showEnvVarsInLog = 0; }; CEC0C66F2410B005003E1BCD /* Run Script - upload dsyms to Sentry */ = { diff --git a/resources/build/set-bundle-versions.sh b/resources/build/set-bundle-versions.sh new file mode 100755 index 0000000000..ec475b510b --- /dev/null +++ b/resources/build/set-bundle-versions.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# Calls script in xcode-utils to update the version + +source "$KEYMAN_ROOT/resources/build/xcode-utils.sh" +phaseSetBundleVersions true \ No newline at end of file