Is there any possibility to tell Xcode to include header files with a .hpp suffix in the autocompletion for include paths?
Replies
Sadly autocompletion for headers in C++ is completely broken in Xcode. If you search the web you'll find complaints back from Xcode 9 or 10 and Apple does not seem to care at all. As a workaround you could go to File > Project Settings and switch the Build System to Legacy and then back again. This should at least give you autocompletion for .h files. I was even able to get autocomplete for iostream once for a short fraction of a second. But I didn't get it to work with .hpp files, although this is is Xcode's standard.
-
—
MobileTen
Add a CommentYes, once you include them. Wrap the c++ methods into objective-c calls. then annotate the objective-c calls for use in swift.