Browse Source

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

Pierre-Olivier Latour 10 years ago
parent
commit
472c7855a7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      GCDWebServer.xcodeproj/project.pbxproj

+ 1 - 2
GCDWebServer.xcodeproj/project.pbxproj

@@ -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 */