2016-11-07 38 views
0

我曾经ZipArchive From Github当我想SSZipArchive.unzipFileAtPath upzip文件不要Zip文件(留在createZipFileAtPath)

,我可以解压缩文件,但通过SSZipArchive.createZipFileAtPath(后我想zip文件:_,withFilesAtPaths:_ )等待和没有完成(当运行这段代码的CPU和内存是完全采用。但尚未完成) 我的代码是

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

SWIFT 2.2 的Xcode 7.2.1 版本versio ñ(V 1.5和V1.4测试)

回答

0

SSZipArchive V1.5中不被迅速工作(用于创建zip) 和工作用Objective-C和刚刚创建的压缩文件(不附加) 进行追加文件可以使用Objective-Zip