First, non-cocoapods method, it should be noted that: directly ssziparchive dragged into the project compile will be an error.
Undefined Symbols for Architecture x86_64:
"_crc32", referenced from:
_unzreadcurrentfile in UNZIP.O
_zipwriteinfileinzip in ZIP.O
"_deflate", referenced from:
_zipwriteinfileinzip in ZIP.O
_zipclosefileinzipraw64 in ZIP.O
"_deflateend", referenced from:
_zipclosefileinzipraw64 in ZIP.O
"_deflateinit2_", referenced from:
_zipopennewfileinzip4_64 in ZIP.O
"_get_crc_table", referenced from:
_unzopencurrentfile3 in UNZIP.O
_zipopennewfileinzip4_64 in ZIP.O
"_inflate", referenced from:
_unzreadcurrentfile in UNZIP.O
"_inflateend", referenced from:
_unzclosecurrentfile in UNZIP.O
"_inflateinit2_", referenced from:
_unzopencurrentfile3 in UNZIP.O
Ld:symbol (s) not found for architecture x86_64
Clang:error:linker command failed with exit code 1 (use-v to see invocation)
Dragging the framework into the project also requires the introduction of another resource bundle.
Second, the use of cocoapods imported ssziparchive do not need to import any resource packages, because the system has helped us to do. code example:
iOS Edge Learning--file compression and decompression of the third-party framework ssziparchive Simple use