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"

 

参考

https://www.jianshu.com/p/0ad26c2fda39

相关文章:

  • 2021-07-29
  • 2021-08-25
  • 2021-09-30
  • 2021-07-07
  • 2021-06-11
  • 2021-05-12
  • 2021-08-04
  • 2021-12-20
猜你喜欢
  • 2021-11-23
  • 2021-11-03
  • 2021-10-23
  • 2021-10-21
  • 2021-05-29
  • 2021-11-24
  • 2021-09-22
相关资源
相似解决方案