From be092ebea60ed694e2c435b26453b82cbc806866 Mon Sep 17 00:00:00 2001 From: Dzmitry Neviadomski Date: Sun, 12 Jun 2022 19:24:30 +0300 Subject: [PATCH] [macOS] Fix Xcode warnings for non-incremental build script phases. (#3266) --- Transmission.xcodeproj/project.pbxproj | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Transmission.xcodeproj/project.pbxproj b/Transmission.xcodeproj/project.pbxproj index f26adfaca..788375da9 100644 --- a/Transmission.xcodeproj/project.pbxproj +++ b/Transmission.xcodeproj/project.pbxproj @@ -2380,7 +2380,7 @@ isa = PBXNativeTarget; buildConfigurationList = 4D18389B09DEC01E0047D688 /* Build configuration list for PBXNativeTarget "libtransmission" */; buildPhases = ( - 4DC4AA3D0B05673D0005DB76 /* ShellScript */, + 4DC4AA3D0B05673D0005DB76 /* Generate version file */, 4D18389309DEC0030047D688 /* Headers */, 4D18389409DEC0030047D688 /* Sources */, BE75C3860C72A1D300DBEFE0 /* Frameworks */, @@ -2519,7 +2519,7 @@ isa = PBXNativeTarget; buildConfigurationList = BE75C34A0C729EB600DBEFE0 /* Build configuration list for PBXNativeTarget "event" */; buildPhases = ( - BE75C3510C729EE100DBEFE0 /* ShellScript */, + BE75C3510C729EE100DBEFE0 /* Copy libevent headers */, BE75C3450C729E9500DBEFE0 /* Headers */, BE75C3460C729E9500DBEFE0 /* Sources */, BE75C3470C729E9500DBEFE0 /* Frameworks */, @@ -2807,14 +2807,17 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 4DC4AA3D0B05673D0005DB76 /* ShellScript */ = { + 4DC4AA3D0B05673D0005DB76 /* Generate version file */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "$(SRCROOT)/CMakeLists.txt", ); + name = "Generate version file"; outputPaths = ( + "$(SRCROOT)/libtransmission/version.h", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -2836,14 +2839,19 @@ shellPath = /bin/sh; shellScript = "cd third-party/miniupnpc\nsh updateminiupnpcstrings.sh \"$SCRIPT_INPUT_FILE_0\" \"$SCRIPT_INPUT_FILE_1\" \"$SCRIPT_OUTPUT_FILE_0\"\n"; }; - BE75C3510C729EE100DBEFE0 /* ShellScript */ = { + BE75C3510C729EE100DBEFE0 /* Copy libevent headers */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "$(SRCROOT)/third-party/macosx-libevent-evconfig-private.h", + "$(SRCROOT)/third-party/macosx-libevent-event-config.h", ); + name = "Copy libevent headers"; outputPaths = ( + "$(SRCROOT)/third-party/libevent/evconfig-private.h", + "$(SRCROOT)/third-party/libevent/include/event2/event-config.h", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/bash;