我下载了cocos2d 3.2.1.zip并在xcode 6上运行它。 调试模式很好,但发布模式根本不行。 我收到以下错误
Undefined symbols for architecture armv7:
"_uncompress", referenced from:
_ccInflateCCZFile in libcocos2d.a(ZipUtils.o)
"_gzopen", referenced from:
_ccInflateGZipFile in libcocos2d.a(ZipUtils.o)
"_gzread", referenced from:
_ccInflateGZipFile in libcocos2d.a(ZipUtils.o)
"_gzclose", referenced from:
_ccInflateGZipFile in libcocos2d.a(ZipUtils.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我确信它与项目设置有关。有谁知道如何解决它?