使用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"