Skip to content

Commit d8b7dc5

Browse files
author
Chris LeBlanc
committed
Fixes Undefined symbols for architecture x86_64: “std::terminate()” issue.
1 parent 7463009 commit d8b7dc5

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)