From 5b2e153f267a96e3df5b5a2093c903168093368a Mon Sep 17 00:00:00 2001 From: Bill Hollings Date: Thu, 7 Jul 2022 22:28:02 -0400 Subject: [PATCH] Fix Xcode projects to support Xcode 11.7. Add dummy output files to each Xcode Run Script build phase that doesn't already have dependencies set, to avoid setting alwaysOutOfDate flag (by disabling "Based on dependency analysis" UI flag), which forces the Xcode project to a version that can't be read by Xcode 11.7. --- .../project.pbxproj | 24 +++++++++---------- MoltenVK/MoltenVK.xcodeproj/project.pbxproj | 8 +++---- MoltenVKPackaging.xcodeproj/project.pbxproj | 12 +++++----- .../project.pbxproj | 8 +++---- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/ExternalDependencies.xcodeproj/project.pbxproj b/ExternalDependencies.xcodeproj/project.pbxproj index 4228f7bf..6b47765a 100644 --- a/ExternalDependencies.xcodeproj/project.pbxproj +++ b/ExternalDependencies.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 48; objects = { /* Begin PBXAggregateTarget section */ @@ -4095,7 +4095,6 @@ /* Begin PBXShellScriptBuildPhase section */ A9194DE724E8431600FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4107,6 +4106,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4114,7 +4114,6 @@ }; A9194DEB24E85ABC00FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4126,6 +4125,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4133,7 +4133,6 @@ }; A9194DEC24E884FC00FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4145,6 +4144,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4152,7 +4152,6 @@ }; A9194DED24E8851900FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4164,6 +4163,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4171,7 +4171,6 @@ }; A9194DEE24E8852B00FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4183,6 +4182,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4190,7 +4190,6 @@ }; A9194DEF24E8853B00FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4202,6 +4201,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4209,7 +4209,6 @@ }; A9194DF024E8854D00FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4221,6 +4220,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4228,7 +4228,6 @@ }; A9194DF124E8855F00FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4240,6 +4239,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4247,7 +4247,6 @@ }; A9194DF224E8856E00FB127B /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4259,6 +4258,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4266,7 +4266,6 @@ }; A9194DF624E8990C00FB127B /* Create XCFramework */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4278,6 +4277,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/XCFwkPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -4285,7 +4285,6 @@ }; A9FC5F8B249DB48D003CB086 /* Package Finish */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -4297,6 +4296,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/FinishPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; diff --git a/MoltenVK/MoltenVK.xcodeproj/project.pbxproj b/MoltenVK/MoltenVK.xcodeproj/project.pbxproj index 82c4e97e..113ceda7 100644 --- a/MoltenVK/MoltenVK.xcodeproj/project.pbxproj +++ b/MoltenVK/MoltenVK.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 48; objects = { /* Begin PBXBuildFile section */ @@ -1251,7 +1251,6 @@ }; A9CBBFEF24F89F5F006D41EF /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -1263,6 +1262,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -1270,7 +1270,6 @@ }; A9CBBFF124F89F79006D41EF /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -1282,6 +1281,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -1289,7 +1289,6 @@ }; A9CBBFF224F89F87006D41EF /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -1301,6 +1300,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; diff --git a/MoltenVKPackaging.xcodeproj/project.pbxproj b/MoltenVKPackaging.xcodeproj/project.pbxproj index a675674a..7542d487 100644 --- a/MoltenVKPackaging.xcodeproj/project.pbxproj +++ b/MoltenVKPackaging.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 48; objects = { /* Begin PBXAggregateTarget section */ @@ -376,7 +376,6 @@ /* Begin PBXShellScriptBuildPhase section */ 2FEA0A3424902F5E00EEF3AD /* Package MoltenVK */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -384,6 +383,7 @@ ); name = "Package MoltenVK"; outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/PackagePhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -391,7 +391,6 @@ }; A975D5872140585200D4834F /* Package MoltenVK */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -399,6 +398,7 @@ ); name = "Package MoltenVK"; outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/PackagePhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -406,7 +406,6 @@ }; A975D59A2140586700D4834F /* Package MoltenVK */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -414,6 +413,7 @@ ); name = "Package MoltenVK"; outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/PackagePhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -421,7 +421,6 @@ }; A9AD70122440ED3B00B9E254 /* Package MoltenVK */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -429,6 +428,7 @@ ); name = "Package MoltenVK"; outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/PackagePhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -436,7 +436,6 @@ }; A9B1008824F84BE400EADC6E /* Package MoltenVK */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -448,6 +447,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/PackagePhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; diff --git a/MoltenVKShaderConverter/MoltenVKShaderConverter.xcodeproj/project.pbxproj b/MoltenVKShaderConverter/MoltenVKShaderConverter.xcodeproj/project.pbxproj index 7e2d230b..a3b915e8 100644 --- a/MoltenVKShaderConverter/MoltenVKShaderConverter.xcodeproj/project.pbxproj +++ b/MoltenVKShaderConverter/MoltenVKShaderConverter.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 54; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ @@ -398,7 +398,6 @@ /* Begin PBXShellScriptBuildPhase section */ A93ED4E724F59E0900FEB018 /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -410,6 +409,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -417,7 +417,6 @@ }; A93ED4E824F59E1100FEB018 /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -429,6 +428,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -436,7 +436,6 @@ }; A93ED4E924F59E1800FEB018 /* Copy to Staging */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -448,6 +447,7 @@ outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/$(TARGET_NAME)/CopyPhaseDummyOutputFile", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh;