I download the newest Xcode from Apple, but I found I cannot search the library named \"libstdc++6.0.9\".
Xcode 10 cancels the libstdc++ library with built-in the lib so we should copy the file to the lib by hand.
copy the file: (libstdc++.6.0.9.tbd) and (libstdc++.6.tbd) to :
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
and
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
(Please note the distinction "iPhoneOS" and "iPhoneSimulator")
clean xcode and rebuild it.
Here is the file.