Using C++ from Swift in Xcode 15 beta One
Make sure you don’t have objective-c
and objective-c++
selected under Build-Settings Apple-Clang Module Verifier - Options for the C++ framework
- just objective-c++
Also ensure your C++ “.hpp” file is set to publc
in the target membership for the file properties if you can’t #import
with an error file not found