Hey guys, I have a static library containing a few model and utility classes. The static library is built for two different targets, one for the iPhone, one for the Mac.
I have a Mac application that uses the static library, but I see the following error when I compile the Mac application. There are no compilation issues when building the static library.
Strange enough, both Architectures settings appear to be equal for both the library and the application itself.
Edit: If I switch to a different architecture, things get even worse. When building the Mac application, I see, among many others:
I have a Mac application that uses the static library, but I see the following error when I compile the Mac application. There are no compilation issues when building the static library.
Code:
ld: warning: in /Users/Craig/Documents/Xcode Builds/Debug.core.mac/libCore (Mac).a, file was built for unsupported file format which is not the architecture being linked (x86_64)
Strange enough, both Architectures settings appear to be equal for both the library and the application itself.
Edit: If I switch to a different architecture, things get even worse. When building the Mac application, I see, among many others:
Code:
"_OBJC_CLASS_$_NSMutableString", referenced from:
objc-class-ref-to-NSMutableString in libCore (Mac).a(DataLoader.o)