From 7b7b1fd816285d1545c18bdd5917cb017c5d723b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 4 Jan 2020 17:58:32 -0500 Subject: [PATCH] Add a shell script build phase to remove Sparkle's headers. --- MacGDBp.xcodeproj/project.pbxproj | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/MacGDBp.xcodeproj/project.pbxproj b/MacGDBp.xcodeproj/project.pbxproj index f378a3c..5dd6c43 100644 --- a/MacGDBp.xcodeproj/project.pbxproj +++ b/MacGDBp.xcodeproj/project.pbxproj @@ -421,6 +421,7 @@ 8D11072C0486CEB800E47090 /* Sources */, 1E9583550E2531E7001A3D89 /* CopyFiles */, 8D11072E0486CEB800E47090 /* Frameworks */, + 1EC64A5723C14C8600F21F46 /* ShellScript */, ); buildRules = ( ); @@ -502,6 +503,27 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 1EC64A5723C14C8600F21F46 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "$(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)/Frameworks/Sparkle.framework/Headers", + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "set -ex\n\nSPARKLE_PATH=\"${TARGET_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks/Sparkle.framework\"\n\nfind \"${SPARKLE_PATH}\" \\( -type d -or -type l \\) -and \\( -name Headers -or -name PrivateHeaders \\) -exec rm -r {} +\n"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1E8C70931BDB167F00D333DC /* Sources */ = { isa = PBXSourcesBuildPhase; -- 2.43.5