Hey everyone!
I’ve been using CocoaPods to call C++ APIs from Swift, and Swift APIs from C++ and it’s been working very well, although the CocoaPods Umbrella header/modulemap has been causing some trouble.
We planned to switch to Swift Package Manager, but the Swift <> C++ docs state that the Swift Package Manager does support Swift → C++ calls, but not C++ → Swift.
Is this information accurate? Are there any workarounds for this? Could I manually create modulemaps to expose specific Swift classes/types/methods to C++ manually? Has anyone done something like this before?
Thanks!