Xcode 10 Broke Autocomplete When Inserting Include Names for C++, Any Workarounds? I no longer get any autocompletion results when I begin to type a standard header file name in the include statements:

#include &lt;&gt;


Normally, typing in a name such as vector or string would cause the autocompletion list to open and display results for these library names, but it is not happening in Xcode 10.  I'm getting some autocompletion results for other headers, but nothing related to the standard C++ libraries.  Does anyone know any workarounds or solutions to this?  I asked in the Apple developer forums, but I've received no help after a week now.

I know that directory for standard C++ library files is:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1


But I'm unaware where this would be placed in Xcode to hopefully get it to allow for autocompletion of headers for all projects in Xcode (and not just whatever specific project is loaded.

Any help is greatly appreciated.

If there isn't a workaround, can anyone else with Xcode 10 verify this issue on their end?
I can confirm same behaviour on my machine. But you can have the autocompletion for C++ back if you add the include path specified in Build Settings -> Search Path -> Header Search Path. See the picture below.



For all/many C++ projects you may add/modify the Custom Paths in Xcode Preferences-> Locations -> Custom Paths.