Skip to content

Commit 472c785

Browse files
committed
Only wipe GCDWebUploader.bundle on Debug to avoid issues on Xcode bot
1 parent 2fdeb95 commit 472c785

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

GCDWebServer.xcodeproj/project.pbxproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,7 @@
422422
);
423423
runOnlyForDeploymentPostprocessing = 0;
424424
shellPath = /bin/sh;
425-
shellScript = "cd \"$BUILT_PRODUCTS_DIR\"\nrm -rf \"GCDWebUploader.bundle\"\n";
426-
showEnvVarsInLog = 0;
425+
shellScript = "if [ \"$CONFIGURATION\" == \"Debug\" ]; then\n cd \"$BUILT_PRODUCTS_DIR\"\n rm -rf \"GCDWebUploader.bundle\"\nfi\n";
427426
};
428427
/* End PBXShellScriptBuildPhase section */
429428

0 commit comments

Comments
 (0)