From d55e26d062de9c08d7f04ddaa51527ad6e3fc481 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Mon, 16 Mar 2020 20:22:39 +0100 Subject: [PATCH] Move version numbers from Info.plist to Build Settings --- Telephone.xcodeproj/project.pbxproj | 4 ++++ Telephone/Info.plist | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Telephone.xcodeproj/project.pbxproj b/Telephone.xcodeproj/project.pbxproj index b61b96ccc..99336e491 100644 --- a/Telephone.xcodeproj/project.pbxproj +++ b/Telephone.xcodeproj/project.pbxproj @@ -5511,6 +5511,7 @@ CODE_SIGN_ENTITLEMENTS = Telephone/Telephone.entitlements; CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 132; DEVELOPMENT_TEAM = B5WSA37RY8; ENABLE_HARDENED_RUNTIME = YES; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -5527,6 +5528,7 @@ "\"$(SRCROOT)/ThirdParty/PJSIP/lib\"", "\"$(SRCROOT)/ThirdParty/Opus/lib\"", ); + MARKETING_VERSION = 1.4; OTHER_LDFLAGS = ( "-lpjsua-x86_64-apple-darwin", "-lpjsip-ua-x86_64-apple-darwin", @@ -5560,6 +5562,7 @@ CODE_SIGN_ENTITLEMENTS = Telephone/Telephone.entitlements; CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 132; DEVELOPMENT_TEAM = B5WSA37RY8; ENABLE_HARDENED_RUNTIME = YES; GCC_PREPROCESSOR_DEFINITIONS = "PJ_AUTOCONF=1"; @@ -5573,6 +5576,7 @@ "\"$(SRCROOT)/ThirdParty/PJSIP/lib\"", "\"$(SRCROOT)/ThirdParty/Opus/lib\"", ); + MARKETING_VERSION = 1.4; OTHER_LDFLAGS = ( "-lpjsua-x86_64-apple-darwin", "-lpjsip-ua-x86_64-apple-darwin", diff --git a/Telephone/Info.plist b/Telephone/Info.plist index a330fc91f..cac3b8d72 100644 --- a/Telephone/Info.plist +++ b/Telephone/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.4 + $(MARKETING_VERSION) CFBundleSignature ???? CFBundleURLTypes @@ -38,7 +38,7 @@ CFBundleVersion - 132 + $(CURRENT_PROJECT_VERSION) ITSAppUsesNonExemptEncryption LSApplicationCategoryType