diff --git a/ios/Sources/Info.plist b/ios/Sources/Info.plist index d4c5518..0558e68 100644 --- a/ios/Sources/Info.plist +++ b/ios/Sources/Info.plist @@ -25,7 +25,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleURLTypes @@ -38,7 +38,7 @@ CFBundleVersion - 1 + $(CURRENT_PROJECT_VERSION) ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/ios/Vorrania.xcodeproj/project.pbxproj b/ios/Vorrania.xcodeproj/project.pbxproj index fb39216..b50cb99 100644 --- a/ios/Vorrania.xcodeproj/project.pbxproj +++ b/ios/Vorrania.xcodeproj/project.pbxproj @@ -359,6 +359,7 @@ CODE_SIGN_ENTITLEMENTS = Sources/Vorrania.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = PP34X97WS3; GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = Sources/Info.plist; @@ -366,7 +367,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.1; PRODUCT_BUNDLE_IDENTIFIER = com.scarriffle.vorrania; SDKROOT = iphoneos; SWIFT_VERSION = 5.9; @@ -381,6 +382,7 @@ CODE_SIGN_ENTITLEMENTS = Sources/Vorrania.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = PP34X97WS3; GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = Sources/Info.plist; @@ -388,7 +390,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0; + MARKETING_VERSION = 1.1; PRODUCT_BUNDLE_IDENTIFIER = com.scarriffle.vorrania; SDKROOT = iphoneos; SWIFT_VERSION = 5.9; diff --git a/ios/project.yml b/ios/project.yml index f76e23a..3c2cc9d 100644 --- a/ios/project.yml +++ b/ios/project.yml @@ -46,7 +46,14 @@ targets: ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon CODE_SIGN_STYLE: Automatic DEVELOPMENT_TEAM: PP34X97WS3 - MARKETING_VERSION: "1.0" + # Die einzige Stelle fuer die Versionsnummern. Die Info.plist zieht + # sie ueber $(MARKETING_VERSION)/$(CURRENT_PROJECT_VERSION) - frueher + # standen dort feste Werte, die jede Aenderung hier wirkungslos machten. + # MARKETING_VERSION ist die sichtbare Version (App Store), + # CURRENT_PROJECT_VERSION die Build-Nummer: muss bei jedem Upload + # innerhalb derselben Version steigen. + MARKETING_VERSION: "1.1" + CURRENT_PROJECT_VERSION: "2" TARGETED_DEVICE_FAMILY: "1,2" SWIFT_VERSION: "5.9" GENERATE_INFOPLIST_FILE: NO