@@ -453,7 +453,7 @@ if( type == DEFAULT ){
453453 else if (ext == " .swift" ){
454454 fp.addToBuildPhase = true ;
455455 for (auto &c : buildConfigs) {
456- addCommand (" Add :objects:" + c + " :buildSettings:OTHER_SWIFT_FLAGS: string -cxx-interoperability-mode=swift-5.9" );
456+ addCommand (" Add :objects:" + c + " :buildSettings:OTHER_SWIFT_FLAGS: string " + " -cxx-interoperability-mode=swift-5.9" );
457457 // mark all Swift files as C++ interop available :)
458458 }
459459 }
@@ -506,11 +506,11 @@ void xcodeProject::addCompileFlagsForMMFile(const fs::path & srcFile) {
506506
507507 // Tag file as Objective-C++ in Xcode build settings
508508 for (auto & c : buildConfigs) {
509- addCommand (" Add :objects:" + c + " :buildSettings:OTHER_CPLUSPLUSFLAGS: string -x objective -c++" );
509+ // addCommand("Add :objects:" + c + ":buildSettings:OTHER_CPLUSPLUSFLAGS: string " + "-xobjective -c++");
510510
511- if (requiresNoARC) {
512- addCommand (" Add :objects:" + c + " :buildSettings:OTHER_CPLUSPLUSFLAGS: string -fno-objc-arc" );
513- }
511+ // if (requiresNoARC) {
512+ // addCommand("Add :objects:" + c + ":buildSettings:OTHER_CPLUSPLUSFLAGS: string " + " -fno-objc-arc");
513+ // }
514514 }
515515
516516}
@@ -696,7 +696,7 @@ void xcodeProject::addAddonFrameworks(const ofAddon& addon){
696696
697697 allFrameworks.reserve ( addon.frameworks .size () + addon.xcframeworks .size () );
698698 allFrameworks.insert ( allFrameworks.end (), addon.frameworks .begin (), addon.frameworks .end () );
699- // allFrameworks.insert( allFrameworks.end(), addon.xcframeworks.begin(), addon.xcframeworks.end() );
699+ allFrameworks.insert ( allFrameworks.end (), addon.xcframeworks .begin (), addon.xcframeworks .end () );
700700
701701 for (auto & f : allFrameworks) {
702702// for (auto & f : addon.frameworks) {
0 commit comments