Zip icon indicating copy to clipboard operation
Zip copied to clipboard

Issue while unzip file

Open Kv056 opened this issue 6 years ago • 2 comments

While unzip file "The operation couldn’t be completed. (Zip.ZipError error 1)"

Kv056 avatar Feb 20 '19 09:02 Kv056

Hi I have the same problem, but is not a problem, in my case It works ok for first time, but after that error appears. Why? I will try explain, when we compress a file in mac osx he add a folder called "__MACOSX" inside .zip file, then when we use the Zip Pod to unzip file we can see that folder in destination. My problem was that I never remove that folder and only removed the file that I compressed, and this library "Zip Pod" will try copy 2 items but the second already exists. You will see the error inside Pod on file "Zip.swift" on line 208 on second cicle (second file that will try to copy, the folder). I´m sorry for my english.

DanielCosta7 avatar Feb 20 '19 13:02 DanielCosta7

+1, when I unzip file, I find this image

Changzw avatar May 01 '20 14:05 Changzw