Skip to content

Commit 3747f24

Browse files
authored
framework to copy phase (#631)
1 parent 3def9d1 commit 3747f24

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

commandLine/src/defines.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#define OFPROJECTGENERATOR_MAJOR_VERSION "0"
2-
#define OFPROJECTGENERATOR_MINOR_VERSION "99"
1+
#define OFPROJECTGENERATOR_MAJOR_VERSION "1"
2+
#define OFPROJECTGENERATOR_MINOR_VERSION "0"
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: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,13 @@ string xcodeProject::addFile(const fs::path & path, const fs::path & folder, con
790790
addCommand("Add :objects:" + copyBundleResourcesUUID + ":files: string " + buildUUID);
791791
}
792792

793-
// if (fp.copyFilesBuildPhase) {
794-
// // If we are going to add xcframeworks to copy files -> destination frameworks, we should include here
793+
if (fp.copyFilesBuildPhase) {
794+
// // If we are going to add xcframeworks to copy files -> destination frameworks, we should include here
795+
if (path.extension() == ".framework") {
796+
addCommand("# ---- copyPhase Frameworks " + buildUUID);
797+
addCommand("Add :objects:E4C2427710CC5ABF004149E2:files: string " + buildUUID);
798+
}
799+
}
795800
// // if (path.extension() == ".framework" || path.extension() == ".xcframework") {
796801
// // This now includes both .framework and .xcframework
797802
// if (fileType == "wrapper.framework" || fileType == ".xcframework") {

0 commit comments

Comments
 (0)