From 5d54e80df80f2f58b65f184dddde69f7884526ed Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 4 Jul 2018 08:59:32 +0100 Subject: [PATCH] Made the projucer ignore command-line flags generated when running it in Xcode debug mode --- extras/Projucer/Source/Application/jucer_Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/Projucer/Source/Application/jucer_Application.cpp b/extras/Projucer/Source/Application/jucer_Application.cpp index d2c6f520cd..5bf5ebc15e 100644 --- a/extras/Projucer/Source/Application/jucer_Application.cpp +++ b/extras/Projucer/Source/Application/jucer_Application.cpp @@ -83,7 +83,8 @@ void ProjucerApplication::initialise (const String& commandLine) initialiseBasics(); - isRunningCommandLine = commandLine.isNotEmpty(); + isRunningCommandLine = commandLine.isNotEmpty() + && ! commandLine.startsWith ("-NSDocumentRevisionsDebugMode"); licenseController.reset (new LicenseController); licenseController->addLicenseStatusChangedCallback (this);