You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LocalizationEditor.xcodeproj/project.pbxproj
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -276,6 +276,7 @@
276
276
isa = PBXNativeTarget;
277
277
buildConfigurationList = F3D9C95220BEC7460081830A /* Build configuration list for PBXNativeTarget "LocalizationEditor" */;
278
278
buildPhases = (
279
+
F3EF22082209F25F000E8C80 /* Build number */,
279
280
F3BC11A421C40FAC001F396F /* SwiftLint */,
280
281
F3D9C93E20BEC7460081830A /* Sources */,
281
282
F3D9C93F20BEC7460081830A /* Frameworks */,
@@ -398,6 +399,24 @@
398
399
shellPath = /bin/sh;
399
400
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
400
401
};
402
+
F3EF22082209F25F000E8C80 /* Build number */ = {
403
+
isa = PBXShellScriptBuildPhase;
404
+
buildActionMask = 2147483647;
405
+
files = (
406
+
);
407
+
inputFileListPaths = (
408
+
);
409
+
inputPaths = (
410
+
);
411
+
name = "Build number";
412
+
outputFileListPaths = (
413
+
);
414
+
outputPaths = (
415
+
);
416
+
runOnlyForDeploymentPostprocessing = 0;
417
+
shellPath = /bin/sh;
418
+
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nif [ \"${CONFIGURATION}\" = \"Release\" ]; then\nbuildNumber=$(git rev-list HEAD | wc -l | tr -d ' ')\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\"\nfi\n";
0 commit comments