diff --git a/commandLine/src/defines.h b/commandLine/src/defines.h index e8a76b2e..4fbd05e2 100644 --- a/commandLine/src/defines.h +++ b/commandLine/src/defines.h @@ -1,5 +1,5 @@ #define OFPROJECTGENERATOR_MAJOR_VERSION "0" -#define OFPROJECTGENERATOR_MINOR_VERSION "91" +#define OFPROJECTGENERATOR_MINOR_VERSION "92" #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 bef5cefb..6c10a13d 100644 --- a/commandLine/src/projects/xcodeProject.cpp +++ b/commandLine/src/projects/xcodeProject.cpp @@ -549,7 +549,7 @@ void xcodeProject::addFramework(const fs::path & path, const fs::path & folder, fp.codeSignOnCopy = !isRelativeToSDK; fp.copyFilesBuildPhase = !isRelativeToSDK; fp.isRelativeToSDK = isRelativeToSDK; - fp.frameworksBuildPhase = (target != "ios" && !folder.empty()); + fp.frameworksBuildPhase = !folder.empty(); string UUID; if (isRelativeToSDK) { @@ -886,7 +886,7 @@ string xcodeProject::addFile(const fs::path & path, const fs::path & folder, con addCommand("Add :objects:E4B69B590A3A1756003C02F2:files: string " + tempUUID); } - if (path.extension() == ".framework") { + if (path.extension() == ".framework" || path.extension() == ".xcframework") { addCommand("# ---- Frameworks Folder " + UUID); addCommand("Add :objects:901808C02053638E004A7774:children: string " + UUID);