Open dornaCp opened 5 years ago
Just ran across this issue as well.
let documentsDirectory = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
let logFiles = ... // A list of files read from the file system
let zipFile = documentsDirectory.appendingPathComponent("ZipFile.zip")
try Zip.zipFiles(paths: logFiles, zipFilePath: zipFile, password: "password") { (progress) in
}
Haven't previously been pass wording the Zip, but moved to secure it before submitting to the App Store
Zip files download from the App (via Files App and Air Drop) can't not be unzipped
Just ran across this issue as well.
- iOS 12.2
- Swift 5
- Xcode 10.2.1
let documentsDirectory = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first! let logFiles = ... // A list of files read from the file system let zipFile = documentsDirectory.appendingPathComponent("ZipFile.zip") try Zip.zipFiles(paths: logFiles, zipFilePath: zipFile, password: "password") { (progress) in }
Haven't previously been pass wording the Zip, but moved to secure it before submitting to the App Store
Zip files download from the App (via Files App and Air Drop) can't not be unzipped
I've just replaced the pod with SSZipArchive which works well, i'm using version 2.1.4.
Any updates in this issue?
This still seems to be a problem in iOS 14.
I've had to revert to SSZipArchive, which is a shame as I was hoping to remove Cocoapods from my app and go all-in with SPM
Hi @ashleymills! We are facing the same issue. Did you get SSZipArchive working with aes
turned on? Would love to hear back. :)
Wanted to do the same as @ashleymills and get rid of one more pod and move to SPM, but I need password protection for my zip files. Would be happy on updates on the issue...
Hi, I can't open any zip file after zipping it with password. Not on mac or Pc..