我正在使用一些类文件创建一个静态库,并且该库创建良好,但是如果我将库安装到另一个新的 Xcode 项目,它会显示错误,错误如下,
ld: warning: ignoring file /Users/rajesh/Desktop/Quntiles/01-03-2013/ConnectionExample-1/libAVTEmployee.a, file was built for archive which is not the architecture being linked (armv7s): /Users/rajesh/Desktop/Quntiles/01-03-2013/ConnectionExample-1/libAVTEmployee.a
Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_AVTEmployee", referenced from:
objc-class-ref in XMLParser-E51A1142A3EEED70.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何人都可以帮助我,我该如何解决这个问题,以便我可以在我的新项目中使用我的静态库,
我正在使用 Xcode 4.6 版本。
提前致谢。