在项目中导入ZipArchive库后,编译报错Undefined symbols for architecture x86_64
试过使用lipo命令查看framework支持的结构
lipo -info ZipArchive.framework/ZipArchive
结果显示如下
Architectures in the fat file: ZipArchive are: armv7 arm64 i386 x86_64
最后发现删掉Other linker flags中的-ObjC后,终于解决了问题