From 7bceb8132aced8e72be2d7acbae1789df3d7d6cb Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Latour Date: Mon, 14 Apr 2014 10:34:14 -0300 Subject: [PATCH] Force overwrite of entire GCDWebUploader.bundle on build --- GCDWebServer.xcodeproj/project.pbxproj | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/GCDWebServer.xcodeproj/project.pbxproj b/GCDWebServer.xcodeproj/project.pbxproj index 122e7bb..4d67692 100644 --- a/GCDWebServer.xcodeproj/project.pbxproj +++ b/GCDWebServer.xcodeproj/project.pbxproj @@ -332,6 +332,7 @@ isa = PBXNativeTarget; buildConfigurationList = 1DEB928508733DD80010E9CD /* Build configuration list for PBXNativeTarget "GCDWebServer (Mac)" */; buildPhases = ( + E21F038418FB37D80043AD1E /* Delete GCDWebUploader.bundle */, E2BE850E18E788910061360B /* CopyFiles */, 8DD76FAB0486AB0100D96B5E /* Sources */, 8DD76FAD0486AB0100D96B5E /* Frameworks */, @@ -404,6 +405,24 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + E21F038418FB37D80043AD1E /* Delete GCDWebUploader.bundle */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Delete GCDWebUploader.bundle"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cd \"$BUILT_PRODUCTS_DIR\"\nrm -rf \"GCDWebUploader.bundle\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 8DD76FAB0486AB0100D96B5E /* Sources */ = { isa = PBXSourcesBuildPhase;