From bed53b0125410969afa6213a1d59b7a59298a376 Mon Sep 17 00:00:00 2001 From: Nicolas Buquet Date: Thu, 14 Nov 2024 18:52:18 +0100 Subject: [PATCH] Fix UnitTest target build that smashed Dev-target info.plist --- TchapX/SupportingFiles/target-unitTests.yml | 4 ++-- TchapX/UnitTests/SupportingFiles/Info.plist | 22 +++++++++++++++++++ .../SupportingFiles/UnitTests.xctestplan | 0 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 TchapX/UnitTests/SupportingFiles/Info.plist rename TchapX/{ => UnitTests}/SupportingFiles/UnitTests.xctestplan (100%) diff --git a/TchapX/SupportingFiles/target-unitTests.yml b/TchapX/SupportingFiles/target-unitTests.yml index 9acce375b9..c9dc1842f2 100644 --- a/TchapX/SupportingFiles/target-unitTests.yml +++ b/TchapX/SupportingFiles/target-unitTests.yml @@ -21,7 +21,7 @@ schemes: coverageTargets: - TchapX-Development testPlans: - - path: UnitTests.xctestplan + - path: ../UnitTests/SupportingFiles/UnitTests.xctestplan # Don't set it as defaultPlan to avoid conflict with ElementX defaultPlan. defaultPlan: false @@ -34,7 +34,7 @@ targets: - target: TchapX-Development info: - path: ../development/SupportingFiles/Info.plist + path: ../UnitTests/SupportingFiles/Info.plist settings: base: diff --git a/TchapX/UnitTests/SupportingFiles/Info.plist b/TchapX/UnitTests/SupportingFiles/Info.plist new file mode 100644 index 0000000000..6c40a6cd0c --- /dev/null +++ b/TchapX/UnitTests/SupportingFiles/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/TchapX/SupportingFiles/UnitTests.xctestplan b/TchapX/UnitTests/SupportingFiles/UnitTests.xctestplan similarity index 100% rename from TchapX/SupportingFiles/UnitTests.xctestplan rename to TchapX/UnitTests/SupportingFiles/UnitTests.xctestplan