From 741ca9cafd5c3215838c943490940ca626b5a1f2 Mon Sep 17 00:00:00 2001 From: Dimitre Date: Tue, 24 Sep 2024 11:29:22 -0300 Subject: [PATCH] V78 - trying to fix empty null array on xcode project (#575) --- commandLine/src/defines.h | 2 +- commandLine/src/projects/xcodeProject.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/commandLine/src/defines.h b/commandLine/src/defines.h index 054e496f..502100af 100644 --- a/commandLine/src/defines.h +++ b/commandLine/src/defines.h @@ -1,5 +1,5 @@ #define OFPROJECTGENERATOR_MAJOR_VERSION "0" -#define OFPROJECTGENERATOR_MINOR_VERSION "77" +#define OFPROJECTGENERATOR_MINOR_VERSION "78" #define OFPROJECTGENERATOR_PATCH_VERSION "0" #define PG_VERSION (OFPROJECTGENERATOR_MAJOR_VERSION "." OFPROJECTGENERATOR_MINOR_VERSION "." OFPROJECTGENERATOR_PATCH_VERSION) diff --git a/commandLine/src/projects/xcodeProject.cpp b/commandLine/src/projects/xcodeProject.cpp index 92da8530..4e1b0f0c 100644 --- a/commandLine/src/projects/xcodeProject.cpp +++ b/commandLine/src/projects/xcodeProject.cpp @@ -941,7 +941,8 @@ bool xcodeProject::saveProjectFile(){ } else if (cols[2] == "array") { try { - j[p] = {}; +// j[p] = {}; + j[p] = json::array({}); } catch (std::exception & e) { ofLogError() << "array " << e.what(); }