Only wipe GCDWebUploader.bundle on Debug to avoid issues on Xcode bot

This commit is contained in:
Pierre-Olivier Latour
2015-01-05 23:54:23 -08:00
parent 2fdeb9581c
commit 472c7855a7

View File

@@ -422,8 +422,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"$BUILT_PRODUCTS_DIR\"\nrm -rf \"GCDWebUploader.bundle\"\n";
showEnvVarsInLog = 0;
shellScript = "if [ \"$CONFIGURATION\" == \"Debug\" ]; then\n cd \"$BUILT_PRODUCTS_DIR\"\n rm -rf \"GCDWebUploader.bundle\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */