Skip to content

Commit

Permalink
Fix App Version Issue (#1126)
Browse files Browse the repository at this point in the history
* Use APP_VERSION instead of MARKETING_VERSION

* Set marketing version at the project level instead of custom flag
  • Loading branch information
ifbarrera committed Mar 27, 2020
1 parent 6ed3cea commit c4682de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Kickstarter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5990,6 +5990,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
MARKETING_VERSION = 4.4.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_SWIFT_FLAGS = "-D APPCENTER";
PRODUCT_NAME = Kickstarter;
Expand Down Expand Up @@ -6019,7 +6020,6 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.kickstarter.kickstarter.beta;
PRODUCT_MODULE_NAME = Kickstarter_iOS;
PRODUCT_NAME = KickBeta;
Expand Down Expand Up @@ -6299,7 +6299,6 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.kickstarter.kickstarter.debug;
PRODUCT_MODULE_NAME = Kickstarter_iOS;
PRODUCT_NAME = KickDebug;
Expand All @@ -6325,7 +6324,6 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.kickstarter.kickstarter;
PRODUCT_MODULE_NAME = Kickstarter_iOS;
PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.kickstarter.kickstarter";
Expand Down Expand Up @@ -6427,6 +6425,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
MARKETING_VERSION = 4.4.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_SWIFT_FLAGS = "-D DEBUG -Xfrontend -warn-long-function-bodies=1000";
Expand Down Expand Up @@ -6490,6 +6489,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
MARKETING_VERSION = 4.4.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_SWIFT_FLAGS = "-D RELEASE";
PRODUCT_NAME = Kickstarter;
Expand Down Expand Up @@ -6857,6 +6857,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
MARKETING_VERSION = 4.4.0;
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_SWIFT_FLAGS = "-D APPCENTER";
PRODUCT_NAME = Kickstarter;
Expand Down Expand Up @@ -6886,7 +6887,6 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
PRODUCT_BUNDLE_IDENTIFIER = com.kickstarter.kickstarter.kickalpha;
PRODUCT_MODULE_NAME = Kickstarter_iOS;
PRODUCT_NAME = KickAlpha;
Expand Down
2 changes: 1 addition & 1 deletion KsApi/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down

0 comments on commit c4682de

Please sign in to comment.