2014-03-26 77 views
0

我试图此mpos.framework添加到我的静态库,但我得到这样的:添加框架,静态库的Xcode

Undefined symbols for architecture i386: "_OBJC_CLASS_$_MPMpos", referenced from: objc-class-ref in libSerenity.a(Widget.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

enter image description here

我应该mpos.framework添加到DependentApp也?

回答

0

i should add the mpos.framework to the DependentApp also? - 您可以轻松地通过尝试来回答这个问题。

我的猜测是,这不是你的问题。它看起来像mpos.framework(及其内部库)不是FAT库,仅针对ARM体系结构进行编译。它可能不包含i386(模拟器)版本的编译代码。你可以在这里找到更多关于FAT库的信息:Build fat static library (device + simulator) using Xcode and SDK 4+