美文网首页
SSZipArchive 解压提示 failed to open

SSZipArchive 解压提示 failed to open

作者: sasky2008 | 来源:发表于2021-01-08 10:40 被阅读0次

https://github.com/ZipArchive/ZipArchive/issues/519

使用SSZipArchive 注意事项:

4. Add the following GCC_PREPROCESSOR_DEFINITIONS: HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB $(inherited).

这个就是在build Setting-Preprocessor Macros-双击Multiple values
加上

HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB $(inherited)

不然报错:

Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open file in zip file"

相关文章

网友评论

      本文标题:SSZipArchive 解压提示 failed to open

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