不要压缩文件(留在 createZipFileAtPath 中)

Dont Zip File (stay in createZipFileAtPath)

我用过ZipArchive From Github

当我想要通过 SSZipArchive.unzipFileAtPath 压缩文件时,我可以解压缩文件,但是在我想要通过 SSZipArchive.createZipFileAtPath( : _ , withFilesAtPaths: _ ) 等待但未完成(cpu 并且当 运行 此代码时内存已满。但未完成) 我的代码是

SSZipArchive.createZipFileAtPath("(downloadpath)/App.zip", withFilesAtPaths: ["(test2path)"])

swift 2.2 xcode7.2.1 发布版本(v 1.5 和 v1.4 测试)

V1.5 中的 SSZipArchive 无法通过 swift 工作(用于创建 zip) 并按 Objective-C 工作,然后创建 zip 文件(不附加) 对于附加文件可以使用 Objective-Zip