@@ -825,32 +825,15 @@ string xcodeProject::addFile(const fs::path & path, const fs::path & folder, con
825
825
}
826
826
}
827
827
828
- // needed or the same?
829
- // if (fp.linkBinaryWithLibraries) { // Link Binary With Libraries
830
- // addCommand("# --- linkBinaryWithLibraries");
831
- // addCommand("Add :objects:" + uuidMap["linkBinaryWithLibraries"] + ":files: string " + buildUUID);
832
- // alert (commands.back(), 95);
833
- // }
834
-
835
- // if (fp.frameworksBuildPhase) { // Link Binary With Libraries
836
828
if (fp.linkBinaryWithLibraries ) { // Link Binary With Libraries
837
- auto tempUUID = generateUUID (ofPathToString (path) + " -InFrameworks" );
838
- addCommand (" Add :objects:" + tempUUID + " :fileRef string " + UUID);
839
- addCommand (" Add :objects:" + tempUUID + " :isa string PBXBuildFile" );
840
- addCommand (" # --- linkBinaryWithLibraries PBXFrameworksBuildPhase" );
841
- // uuidMap["linkBinaryWithLibraries"] = "E4B69B590A3A1756003C02F2";
842
- addCommand (" Add :objects:" + uuidMap[" linkBinaryWithLibraries" ] + " :files: string " + tempUUID);
843
- alert (commands.back (), 96 );
829
+ auto tempUUID = generateUUID (ofPathToString (path) + " -InFrameworks" );
830
+ addCommand (" Add :objects:" + tempUUID + " :fileRef string " + UUID);
831
+ addCommand (" Add :objects:" + tempUUID + " :isa string PBXBuildFile" );
832
+ addCommand (" # --- linkBinaryWithLibraries PBXFrameworksBuildPhase" );
833
+ // uuidMap["linkBinaryWithLibraries"] = "E4B69B590A3A1756003C02F2";
834
+ addCommand (" Add :objects:" + uuidMap[" linkBinaryWithLibraries" ] + " :files: string " + tempUUID);
835
+ alert (commands.back (), 96 );
844
836
}
845
-
846
-
847
- // if ( path.extension() == ".framework" || path.extension() == ".xcframework" ) {
848
- // addCommand("# ---- Frameworks Folder " + UUID);
849
- // addCommand("Add :objects:901808C02053638E004A7774:children: string " + UUID);
850
-
851
- // addCommand("# ---- PBXFrameworksBuildPhase " + buildUUID);
852
- // addCommand("Add :objects:1D60588F0D05DD3D006BFB54:files: string " + buildUUID);
853
- // }
854
837
}
855
838
return UUID;
856
839
}
0 commit comments