weichsel / ZIPFoundation

Effortless ZIP Handling in Swift
MIT License
2.34k stars 262 forks source link

xcode invalidCompressionMethod error (compression method=lzma) #321

Closed codethesolution closed 5 months ago

codethesolution commented 5 months ago

I am having issues extracting certain zip archives in my app. I am building a MacOS application (miminum target: 13.1) using xCode version 15.4 (15F31d). I am using the most recent version of ZipFoundation. I have performed an update to ensure latest version is being used: Installing ZIPFoundation 0.9.19 (was 0.9.16). When I explore the archive's properties using 'file', I see: "Zip archive data, at least v6.3 to extract, compression method=lzma".

weichsel commented 5 months ago

Hi, ZIP Foundation does not support LZMA compression. Currently, uncompressed and deflate (the "default" compression format for ZIP archives) compressed archives are supported.