美文网首页
SSZipArchive 使用中的错误处理

SSZipArchive 使用中的错误处理

作者: pingxhcn | 来源:发表于2022-03-31 09:25 被阅读0次
SSZipArchive 引入报错 Foundation 类中出现错误无法编译

1、 将 .c 文件 修改为 .m 文件
选中所有.c文件, 在右侧边栏中选择 Objective-C Source,即可编译通过

Identity and Type.png

2、解压失败,出现 failed to open file in zip file 错误 , 修改 build system 中的 Preprocessor Macros , 双击 Multiple values , 添加

HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB
Pasted Graphic.jpg

相关文章

网友评论

      本文标题:SSZipArchive 使用中的错误处理

      本文链接:https://www.haomeiwen.com/subject/idbgjrtx.html