|
297 | 297 | 675737B820912B0C00F42A2C /* Swift Lint */, |
298 | 298 | 67A3C069207822B000E93876 /* Frameworks */, |
299 | 299 | 67A3C06A207822B000E93876 /* Resources */, |
| 300 | + 67F2723C2095B4BC004EC9C4 /* Set Build Number */, |
300 | 301 | 67A3C0A2207822DD00E93876 /* Embed App Extensions */, |
301 | 302 | 1B85D0C23929E647A7C8F553 /* [CP] Embed Pods Frameworks */, |
302 | 303 | F70358CD9481A29EC6CB1052 /* [CP] Copy Pods Resources */, |
|
339 | 340 | 677995442092599D00B460E7 /* Swift Lint */, |
340 | 341 | 67A3C08E207822DD00E93876 /* Frameworks */, |
341 | 342 | 67A3C08F207822DD00E93876 /* Resources */, |
| 343 | + 675DC4002095B8F7007142A7 /* Set Build Number */, |
342 | 344 | D0815EFBAF800DD6791C4E0D /* [CP] Copy Pods Resources */, |
343 | 345 | ); |
344 | 346 | buildRules = ( |
|
477 | 479 | shellPath = /bin/sh; |
478 | 480 | shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi"; |
479 | 481 | }; |
| 482 | + 675DC4002095B8F7007142A7 /* Set Build Number */ = { |
| 483 | + isa = PBXShellScriptBuildPhase; |
| 484 | + buildActionMask = 2147483647; |
| 485 | + files = ( |
| 486 | + ); |
| 487 | + inputPaths = ( |
| 488 | + ); |
| 489 | + name = "Set Build Number"; |
| 490 | + outputPaths = ( |
| 491 | + ); |
| 492 | + runOnlyForDeploymentPostprocessing = 0; |
| 493 | + 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}\""; |
| 495 | + }; |
480 | 496 | 677995432092598C00B460E7 /* Swift Lint */ = { |
481 | 497 | isa = PBXShellScriptBuildPhase; |
482 | 498 | buildActionMask = 2147483647; |
|
505 | 521 | shellPath = /bin/sh; |
506 | 522 | shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi"; |
507 | 523 | }; |
| 524 | + 67F2723C2095B4BC004EC9C4 /* Set Build Number */ = { |
| 525 | + isa = PBXShellScriptBuildPhase; |
| 526 | + buildActionMask = 2147483647; |
| 527 | + files = ( |
| 528 | + ); |
| 529 | + inputPaths = ( |
| 530 | + ); |
| 531 | + name = "Set Build Number"; |
| 532 | + outputPaths = ( |
| 533 | + ); |
| 534 | + runOnlyForDeploymentPostprocessing = 0; |
| 535 | + 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}\""; |
| 537 | + }; |
508 | 538 | 74D53C4ECE91B9663A0CF99C /* [CP] Check Pods Manifest.lock */ = { |
509 | 539 | isa = PBXShellScriptBuildPhase; |
510 | 540 | buildActionMask = 2147483647; |
|
755 | 785 | COMBINE_HIDPI_IMAGES = YES; |
756 | 786 | DEVELOPMENT_TEAM = VAA3W4LPY2; |
757 | 787 | INFOPLIST_FILE = CommentWrapper/Info.plist; |
| 788 | + INFOPLIST_PREPROCESS = YES; |
758 | 789 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; |
759 | 790 | PRODUCT_BUNDLE_IDENTIFIER = com.stevebarnegren.xcodecommentwrapper; |
760 | 791 | PRODUCT_NAME = "Comment Wrapper"; |
|
776 | 807 | COMBINE_HIDPI_IMAGES = YES; |
777 | 808 | DEVELOPMENT_TEAM = VAA3W4LPY2; |
778 | 809 | INFOPLIST_FILE = CommentWrapper/Info.plist; |
| 810 | + INFOPLIST_PREPROCESS = YES; |
779 | 811 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; |
780 | 812 | PRODUCT_BUNDLE_IDENTIFIER = com.stevebarnegren.xcodecommentwrapper; |
781 | 813 | PRODUCT_NAME = "Comment Wrapper"; |
|
0 commit comments