Zip
Zip copied to clipboard
Setting password then fails to unzip on Mac
So, all works fine with password set to nil. Setting a simple password it zips fine, but when unarchiving on the Mac, password field pops up, but it then doesn't accept the password I set.
I'm using
try Zip.zipFiles(paths: zipURLs, zipFilePath: zipFilePathURL, password: "pass", progress: { (progress) -> () in
Hi. I've the same problem. I can zip file with password, but when I try to unzip that file with used password, it doesn't allow to unzip and ask the password again and again. Please help me with this. Thanks.
I ended up using a different library. But even so. It’s seems the unzip on a Mac doesn’t work with the native built in unzip tool. Whereas if you install a 3rd party one from the AppStore it does manage to unzip with password.
I did that with another library - SSZipArchive from pod. And it's working well for me. So I'm recommend it if any developer want to zip / unzip file by Swift. Thank you.
I have the same issue that I cannot unzip a password protected .zip file on OSX. I tried a few 3rd party unzipper apps from the App Store, but no dice :(. Which specific app is known to work? (I tried SSZipArchive, but it conflicts with some of my other pods who have some internal zip-support as well.) Thx!
Same issue here although out of 20 or so tests I was able to open 1 file with a password on mac os 10.13.6.
same issue. please fix it.
Same
Same issue :( I tried 5 different unarchivers, none of them work... I have absolutely no idea about zipping, so I can't help here... but would be great if somebody who knowns could have a look... I mean aren't we most likely all developing iOS apps on our Macs?
I did that with another library - SSZipArchive from pod. And it's working well for me. So I'm recommend it if any developer want to zip / unzip file by Swift. Thank you.
I ran into this problem as well and ultimately used SSZipArchive. This library's API is a bit nicer, but I need password support.