mw99 / DataCompression

Swift libcompression wrapper as an extension for the Data type (GZIP, ZLIB, LZFSE, LZMA, LZ4, deflate, RFC-1950, RFC-1951, RFC-1952)
Apache License 2.0
287 stars 57 forks source link

Can't unarchive .zip #25

Closed EugeneKudr closed 4 years ago

EugeneKudr commented 4 years ago

I try to unzip my .zip file (downloaded from the Internet) using the .unzip () command and get a nil. Also I cannot open on my computer the file zipped by .zip(). With gzip all ok. Please help!

EugeneKudr commented 4 years ago

I seem to have figured out that this solution is not suitable for pkzip files, but I need to process this type of file. What can I do?

mw99 commented 4 years ago

Hi. Your best bet ist called ‘minizip’. Maybe google that together with swift and you should find what you are looking for. Good luck.