Skip to content

Commit 2a6dea1

Browse files
committed
Fix build phase dependency warnings
Make sure to specify the build phase (e.g. building locale files) input/output dependencies so they can be properly skipped during incremental builds if the input files haven't changed. Previously some of them were set to use dependency tracking, but with no input/output specified, therefore triggering a warning as Xcode had to run them every build.
1 parent e9e1290 commit 2a6dea1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/MacVim/MacVim.xcodeproj/project.pbxproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,9 +1002,11 @@
10021002
files = (
10031003
);
10041004
inputPaths = (
1005+
"$(PROJECT_DIR)/icons",
10051006
);
10061007
name = "Make Document Icons";
10071008
outputPaths = (
1009+
"$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)",
10081010
);
10091011
runOnlyForDeploymentPostprocessing = 0;
10101012
shellPath = /bin/sh;
@@ -1017,9 +1019,11 @@
10171019
files = (
10181020
);
10191021
inputPaths = (
1022+
"${SRCROOT}/mvim",
10201023
);
10211024
name = "Copy mvim scripts";
10221025
outputPaths = (
1026+
$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin/mvim,
10231027
);
10241028
runOnlyForDeploymentPostprocessing = 0;
10251029
shellPath = /bin/sh;
@@ -1034,11 +1038,13 @@
10341038
inputFileListPaths = (
10351039
);
10361040
inputPaths = (
1041+
"$(SRCROOT)/../po",
10371042
);
10381043
name = "Copy locale message translation files";
10391044
outputFileListPaths = (
10401045
);
10411046
outputPaths = (
1047+
"${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/vim/runtime/lang",
10421048
);
10431049
runOnlyForDeploymentPostprocessing = 0;
10441050
shellPath = /bin/sh;
@@ -1047,18 +1053,21 @@
10471053
};
10481054
90C052E1251E889500E2D81E /* Copy vimtutor */ = {
10491055
isa = PBXShellScriptBuildPhase;
1050-
alwaysOutOfDate = 1;
10511056
buildActionMask = 2147483647;
10521057
files = (
10531058
);
10541059
inputFileListPaths = (
10551060
);
10561061
inputPaths = (
1062+
"${SRCROOT}/../vimtutor",
1063+
"${SRCROOT}/../gvimtutor",
10571064
);
10581065
name = "Copy vimtutor";
10591066
outputFileListPaths = (
10601067
);
10611068
outputPaths = (
1069+
$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin/vimtutor,
1070+
$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/bin/gvimtutor,
10621071
);
10631072
runOnlyForDeploymentPostprocessing = 0;
10641073
shellPath = /bin/sh;

0 commit comments

Comments
 (0)