Tag Archives: SSZipArchive Decompress Error

[Solved] SSZipArchive Decompress Error: failed to open file in zip file

1. Add manually and drag ssziparchive library directly, and an error will be reported

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

2. Solution

Notes for using ssziparchive:

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 (Double-Click), add the following codes:

HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB $(inherited)

Screenshot: