Sometimes, zip files created by Juce’s ZipFile class can’t be uncompressed again by the ZipFile class. There doesn’t seem to be a problem with the zip files themselves as they can be opened using the unzip command or by clicking on them to launch the Archive Utility app on Mac.
Here’s a small sample project containing an example zip file created by the ZipFile class that can’t be opened by the ZipFile class.
The example zip file is at Builds/MacOSX/ExampleZip.zip.
It should be decompressed to the directory Builds/MacOSX/output
On my Mac running this sample app instead converts the output directory to a file, and the contents of the zip also aren’t enumerated correctly.
The sample app is using the latest Juce 5 modules.