From 03947a2646119d2b3c6d4c71a9ca565310c78ac8 Mon Sep 17 00:00:00 2001 From: attila Date: Mon, 18 Dec 2023 21:48:15 +0100 Subject: [PATCH] Projucer: Fix VST3 and LV2 manifest helper paths in Xcode when using relative module paths Even without this change the helpers would build correctly, but Xcode would be unable to open them in the GUI and present them in red letters. --- .../Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h index 827cc82777..8ce01ff2f2 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h @@ -2220,7 +2220,7 @@ private: && project.getEnabledModules().isModuleEnabled ("juce_audio_plugin_client")) { const auto path = rebaseFromProjectFolderToBuildTarget (getLV2HelperProgramSource()); - addFile (FileOptions().withRelativePath ({ expandPath (path.toUnixStyle()), path.getRoot() }) + addFile (FileOptions().withRelativePath ({ path.toUnixStyle(), path.getRoot() }) .withSkipPCHEnabled (true) .withCompilationEnabled (true) .withInhibitWarningsEnabled (true) @@ -2232,7 +2232,7 @@ private: && project.getEnabledModules().isModuleEnabled ("juce_audio_plugin_client")) { const auto path = rebaseFromProjectFolderToBuildTarget (getVST3HelperProgramSource()); - addFile (FileOptions().withRelativePath ({ expandPath (path.toUnixStyle()), path.getRoot() }) + addFile (FileOptions().withRelativePath ({ path.toUnixStyle(), path.getRoot() }) .withSkipPCHEnabled (true) .withCompilationEnabled (true) .withInhibitWarningsEnabled (true)