Undefined symbols for architecture i386: "_deflate", referenced from: PlatCompress(enumCompressOperation, CompressCookie*, void*, long) in libMo.a(tlplatcompress.o) "_deflateEnd", re
- 转到项目
Build Settings
选项卡 - 搜索
Other Linker Flags
- 添加
-lz
为链接器标志(请参见屏幕截图) - 在
Product
菜单中,Clean
再次构建之前选择 -
厚积薄发,笨鸟先飞。