Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Commit

Permalink
Fix: Cannot find CardIOIccVersion.h
Browse files Browse the repository at this point in the history
  • Loading branch information
cybertk committed Aug 25, 2015
1 parent 9f86d45 commit 1cf292a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions icc.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1951,6 +1951,7 @@
92263D6C1B83ACBB003FE678 /* Frameworks */,
92263D6D1B83ACBB003FE678 /* Headers */,
92263D6E1B83ACBB003FE678 /* Resources */,
929AD77D1B8C771200F6D18E /* Get version from git tag */,
);
buildRules = (
);
Expand Down Expand Up @@ -2109,6 +2110,20 @@
shellPath = /bin/bash;
shellScript = "export PATH=/usr/local/bin:$PATH\n\nif [ -f .baler_envx ]; then\n source .baler_env 2 > /dev/null\nelif which bale > /dev/null; then\n echo \"Using default bale\"\nelse\n echo \"baler is missing, so skipping the baler step\"\n exit 0;\nfi\n\necho \"Baling bundle with `which bale`\"\nbale assets/ Classes/ --overwrite-delay 0 -z -c CardIOBundle || (echo 'Failed to generate bundle via baler!' ; exit 1)";
};
929AD77D1B8C771200F6D18E /* Get version from git tag */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Get version from git tag";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$ICC_VERSION\" ]\nthen\nICC_VERSION=`git describe --match=iOS_[0-9]*\\.[0-9]* --tags --always --dirty | sed \"s/iOS_//\" | sed \"s/-.*//\"`\nfi\necho \"Using version: $ICC_VERSION\"\n\nsed s/icc-version-undefined/$ICC_VERSION/g <Classes/CardIOIccVersion.h.template >Classes/CardIOIccVersion.h";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down

0 comments on commit 1cf292a

Please sign in to comment.