Skip to content

Commit fe643c1

Browse files
authored
Merge pull request react-native-maps#329 from LeBlaaanc/master
Fixes `Undefined symbols for architecture x86_64: “std::terminate()”`…
2 parents 7a77875 + d8b7dc5 commit fe643c1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

example/ios/AirMapsExplorer.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,10 @@
651651
);
652652
INFOPLIST_FILE = AirMapsExplorer/Info.plist;
653653
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
654-
OTHER_LDFLAGS = "-ObjC";
654+
OTHER_LDFLAGS = (
655+
"-ObjC",
656+
"-lc++",
657+
);
655658
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
656659
PRODUCT_NAME = AirMapsExplorer;
657660
};
@@ -668,7 +671,10 @@
668671
);
669672
INFOPLIST_FILE = AirMapsExplorer/Info.plist;
670673
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
671-
OTHER_LDFLAGS = "-ObjC";
674+
OTHER_LDFLAGS = (
675+
"-ObjC",
676+
"-lc++",
677+
);
672678
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
673679
PRODUCT_NAME = AirMapsExplorer;
674680
};

0 commit comments

Comments
 (0)