diff --git a/ComboJack.xcodeproj/project.pbxproj b/ComboJack.xcodeproj/project.pbxproj index 3e0f614..e840c80 100755 --- a/ComboJack.xcodeproj/project.pbxproj +++ b/ComboJack.xcodeproj/project.pbxproj @@ -145,8 +145,8 @@ outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n#cd \"${TARGET_BUILD_DIR}\"\ncp -f ${TARGET_BUILD_DIR}/ComboJack Installer/\n"; + shellPath = /bin/bash; + shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n#cd \"${TARGET_BUILD_DIR}\"\nif [ \"$CONFIGURATION\" == \"Release\" ]; then\n cp -f ${TARGET_BUILD_DIR}/ComboJack Installer/\n\n cd Installer\n archive=\"${PRODUCT_NAME}-${MODULE_VERSION}-$(echo $CONFIGURATION | tr /a-z/ /A-Z/).zip\"\n rm -rf *.zip\n zip -qry -FS \"${archive}\" *\nfi\n"; }; /* End PBXShellScriptBuildPhase section */