diff --git a/Diffusion.xcodeproj/project.pbxproj b/Diffusion.xcodeproj/project.pbxproj index eadc80a..a800a09 100644 --- a/Diffusion.xcodeproj/project.pbxproj +++ b/Diffusion.xcodeproj/project.pbxproj @@ -326,6 +326,7 @@ isa = PBXNativeTarget; buildConfigurationList = F155202F2971093400DC009B /* Build configuration list for PBXNativeTarget "Diffusion-macOS" */; buildPhases = ( + EB7FE72529954BFF009056BD /* ShellScript */, F155201D2971093300DC009B /* Sources */, F155201E2971093300DC009B /* Frameworks */, F155201F2971093300DC009B /* Resources */, @@ -433,6 +434,27 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + EB7FE72529954BFF009056BD /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 12; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if [ \"$CONFIGURATION\" != \"Debug\" ]\nthen \n version=`date +%Y%m%d.%H%M%S`\n CONFIG_FILE=${SRCROOT}/config/common.xcconfig\n sed -e 's/^CURRENT_PROJECT_VERSION.*/CURRENT_PROJECT_VERSION = '\"$version\"'/' ${CONFIG_FILE} > ${CONFIG_FILE}.tmp\n [[ -s ${CONFIG_FILE}.tmp ]] && {\n mv ${CONFIG_FILE}.tmp ${CONFIG_FILE}\n }\nfi\n"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ EBE755C1293E37DD00806B32 /* Sources */ = { isa = PBXSourcesBuildPhase;