Skip to content

Commit 97a244a

Browse files
Update build number format to be app store compliant
1 parent aecdae1 commit 97a244a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CommentWrapper.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@
491491
);
492492
runOnlyForDeploymentPostprocessing = 0;
493493
shellPath = /bin/sh;
494-
shellScript = "# Generate the build number using current date and time\nbuildNumber=$(date \"+%Y_%m_%d_%H_%M\")\n\n# Set the build number in plist file\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"";
494+
shellScript = "# Generate the build number using current date and time\nbuildNumber=$(date \"+%Y%m.%d.%H%M\")\n\n# Set the build number in plist file\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"";
495495
};
496496
677995432092598C00B460E7 /* Swift Lint */ = {
497497
isa = PBXShellScriptBuildPhase;
@@ -533,7 +533,7 @@
533533
);
534534
runOnlyForDeploymentPostprocessing = 0;
535535
shellPath = /bin/sh;
536-
shellScript = "# Generate the build number using current date and time\nbuildNumber=$(date \"+%Y_%m_%d_%H_%M\")\n\n# Set the build number in plist file\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"";
536+
shellScript = "# Generate the build number using current date and time\nbuildNumber=$(date \"+%Y%m.%d.%H%M\")\n\n# Set the build number in plist file\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}\"";
537537
};
538538
74D53C4ECE91B9663A0CF99C /* [CP] Check Pods Manifest.lock */ = {
539539
isa = PBXShellScriptBuildPhase;

0 commit comments

Comments
 (0)