ZIPFoundation icon indicating copy to clipboard operation
ZIPFoundation copied to clipboard

Deprecated Init Syntax Still Present in Readme file

Open hbowie opened this issue 1 year ago • 3 comments

I have an app called Notenik that makes use of ZIPFoundation. I've noticed lately that I get a build issue for my app saying that my usage of 'init(url:accessMode:preferredEncoding:)' is deprecated, and advising me to use the throwing initializer instead. Yet the section of the GitHub readme file talking about Creating Archives seems to still use the same syntax that I'm using, so I'm not entirely sure what I'm supposed to be doing differently.

hbowie avatar Apr 16 '24 19:04 hbowie

Was just going to post this issue myself, just added zip foundation to a swift project via swiftpm, used the example and immediately got the deprecation notice. Makes it hard to get started.

Partwood avatar May 20 '24 11:05 Partwood

Came here to post the same thing. Does anyone have an updated sample of compressing files into zip format??

skythomp16 avatar Sep 11 '24 12:09 skythomp16

Yep, this is still happening and a tad confusing

seabjackson avatar Sep 16 '24 18:09 seabjackson