Skip to content

Commit 619cc87

Browse files
authored
iOS libraries v92 (#612)
* xcframeworks water for gremlins (cherry picked from commit 57425fe8db647d7e0c8f356087b9fd46ef54efaf) * v92
1 parent 9ea2f2a commit 619cc87

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

commandLine/src/defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define OFPROJECTGENERATOR_MAJOR_VERSION "0"
2-
#define OFPROJECTGENERATOR_MINOR_VERSION "91"
2+
#define OFPROJECTGENERATOR_MINOR_VERSION "92"
33
#define OFPROJECTGENERATOR_PATCH_VERSION "0"
44

55
#define PG_VERSION (OFPROJECTGENERATOR_MAJOR_VERSION "." OFPROJECTGENERATOR_MINOR_VERSION "." OFPROJECTGENERATOR_PATCH_VERSION)

commandLine/src/projects/xcodeProject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ void xcodeProject::addFramework(const fs::path & path, const fs::path & folder,
549549
fp.codeSignOnCopy = !isRelativeToSDK;
550550
fp.copyFilesBuildPhase = !isRelativeToSDK;
551551
fp.isRelativeToSDK = isRelativeToSDK;
552-
fp.frameworksBuildPhase = (target != "ios" && !folder.empty());
552+
fp.frameworksBuildPhase = !folder.empty();
553553

554554
string UUID;
555555
if (isRelativeToSDK) {
@@ -886,7 +886,7 @@ string xcodeProject::addFile(const fs::path & path, const fs::path & folder, con
886886
addCommand("Add :objects:E4B69B590A3A1756003C02F2:files: string " + tempUUID);
887887
}
888888

889-
if (path.extension() == ".framework") {
889+
if (path.extension() == ".framework" || path.extension() == ".xcframework") {
890890
addCommand("# ---- Frameworks Folder " + UUID);
891891
addCommand("Add :objects:901808C02053638E004A7774:children: string " + UUID);
892892

0 commit comments

Comments
 (0)