I can't find any simple c++ xcodeproj call to swift struct using modern c++ swift mix. there is the fibonacci example that is swift app call to c++. Base on fibonacci example I create new simple project and fail to build it with error when I try to include #include <SwiftMixTester/SwiftMixTester-Swift.h>
What is wrong? Is it the right place to ask this? Any work project link?
Xcode 26.
I pasted a concrete example of calling Swift from C++ in your other thread. Admittedly, this was calling a class not a struct, but it seems like a reasonable place to start.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"