From 3029919553e36d9014d986979106d803e73b512a Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Tue, 18 Feb 2025 20:58:16 -0500 Subject: [PATCH] ios: Might as well generate the CFBundleShortVersionString from that other version. --- GNUmakefile | 6 ++++++ src/ios/Info.plist | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index df02bf74..b18dca50 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -910,6 +910,12 @@ src/android/AndroidManifest.xml : $(firstword $(MAKEFILE_LIST)) -e 's/android:targetSdkVersion="[[:digit:]]*"/android:targetSdkVersion="$(ANDROID_TARGET_SDK_VERSION)"/' \ $@ +src/ios/Info.plist : $(firstword $(MAKEFILE_LIST)) + @echo "[ios_version] $@" + @sed -z -r -i \ + -e 's@(CFBundleShortVersionString\s*)[0-9.]*()@\1$(VERSION_NUMBER)\2@' \ + $@ + ## ## Android targets: ## diff --git a/src/ios/Info.plist b/src/ios/Info.plist index 4d916933..89dd3a7b 100644 --- a/src/ios/Info.plist +++ b/src/ios/Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 0.0.28-wip CFBundleSupportedPlatforms iPhoneOS