File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -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,10 +506,10 @@ 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
511511 if (requiresNoARC) {
512- addCommand (" Add :objects:" + c + " :buildSettings:OTHER_CPLUSPLUSFLAGS: string -fno-objc-arc" );
512+ addCommand (" Add :objects:" + c + " :buildSettings:OTHER_CPLUSPLUSFLAGS: string " + " -fno-objc-arc" );
513513 }
514514 }
515515
You can’t perform that action at this time.
0 commit comments