I have a Framework built as a shared Framework from a collection of static libraries. Let's call it Framework A.
I have a built iOS application that contains symbols B, and C.
Framework A is built calling references to function B and class C, with -Wl,-flatnamespace,-undefined,dynamiclookup as linking flags.
The built iOS application crashes:
dyld: Symbol not found: OBJCCLASS$MyClassC
Expected in: flat namespace
The iOS application contains MyClassC and an objdump -t shows this. Both the framework and iOS app are built with -flat_namespace.
Is this possible to resolve without moving objects B and C into the framework? When built as a static library prior to conversion, the framework has no issues.
I have a built iOS application that contains symbols B, and C.
Framework A is built calling references to function B and class C, with -Wl,-flatnamespace,-undefined,dynamiclookup as linking flags.
The built iOS application crashes:
dyld: Symbol not found: OBJCCLASS$MyClassC
Expected in: flat namespace
The iOS application contains MyClassC and an objdump -t shows this. Both the framework and iOS app are built with -flat_namespace.
Is this possible to resolve without moving objects B and C into the framework? When built as a static library prior to conversion, the framework has no issues.