Creating a ZIP archive from a Cocoa application
Are there Objective-C classes that are equivalent to the ones contained in the Java package java.util.zip ? Is to execute a CLI command the only alternative? marcprux As of iOS8/OSX10.10 there is a built-in way to create zip archives using NSFileCoordinatorReadingOptions.ForUploading . A simple example of create zip archives without any non-Cocoa dependencies: public extension NSURL { /// Creates a zip archive of the file/folder represented by this URL and returns a references to the zipped file /// /// - parameter dest: the destination URL; if nil, the destination will be this URL with ".zip"