do { let filePath = Bundle.main.url(forResource: "file", withExtension: "zip")! let unzipDirectory = try Zip.quickUnzipFile(filePath) // Unzip let zipFilePath = try Zip.quickZipFiles([filePath], fileName: "archive") // Zip } catch { print("Something went wrong") }