Hey there,
I have two private frameworks with control over the source code.
The first one, I'll call it "first.framework" for reference, is depended on ImageIO.framework , Security.framework and a few others.
The library is build for armv7 arm64 armv7s i386.
The other framework, "second.framework, needs to use first.framework functionality.
Is there a way to include "first.framework" inside "second.framework" so that the end user will only need to import "second.framework"?
Building "second.framework" works fine but when I try to build the app that uses "second.framework" I'm getting this error:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FirstStaticView", referenced from:
objc-class-ref in second_SDK(SomeViewController.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've made sure "Architectures" and "Valid Architectures" are all supporting armv7 arm64 armv7s i386.
*Both Frameworks works if I I use them separately.
Thanks