Import Structure SDK in Swift Framework


#1

Hello,

I am working on using the Structure SDK in a Swift framework, but I am struggling to achieve the import. I’ve been using many methods, the latest being an aggregate target to automatically create a module map for the structure headers. I keep hitting these errors:

-“Structure framework requires the C++ runtime. See Structure SDK Reference.” …as is found in your Structure.h.
-Could not build Objective-C module ‘Structure’ …obviously, since its a C++ module?

Do you have any advice?

Thanks you