I'm starting with a working app, and trying to encapsulate as much functionality as possible into an embedded framework. Everything in the embedded framework is Obj-C or C, and the new 'skeleton' project is Obj-C.
I believe I'm building my framework so that it defines a Module with a particular name.
I've used nm against the framework contents and believe my custom class is implemented in there, the symbols weren't stripped out.
The umbrella header for the framework specifies ALL of the headers that used to go into the working app target, even AppDelegate.h.
I believe I've updated my Storyboards so that the Module field for each custom view controller specifies the Module name, and have inspected Main.storyboard to confirm that my intended custom class name and module name are reflected in the XML source.
At runtime, I get a variant of "unknown class in interface builder file."
Unknown class _TtC8<moduleName>25<customClassName> in Interface Builder file.
My impression from canvassing these forums, StackOverflow, and Google is that basically anyone who tries to use embedded frameworks hits some variant of these errors, and that there are a bunch of mostly-unrelated fixes on offer depending on exactly which variant one is hitting.
First off, what's up with the name mangling in the error message? Does the leading _T mean that the runtime is trying to load a Swift class, and does the presence of the moduleName mean its looking for the custom class inside some kind of namespace?
Please help.