jjzjj

SSZipArchive

全部标签

ios - 未能找到 zlib 的构建 b/c 符号

我在将用于zip解压缩的库添加到我的iPhone应用程序时遇到问题。我决定使用SSZipArchive.它使用minizip。按照说明操作后:1添加SSZipArchive.h、SSZipArchive.m和minizip2将libz库添加到您的目标我仍然遇到错误:未找到符号。我尝试将-lz添加到其他链接器标志并添加lybz.dylib但它没有帮助。如果您知道如何让libz在这里工作,请告诉我。已解决:我没有使用文件夹,而是创建了一个黄色引用组,从包含中删除了/minizip/,现在一切正常。 最佳答案 unzOpen、unzOpe

ios - Swift 如何使用 Alamofire 和 SSZipArchive 从 URL 解压缩文件

funcdownLoad(fileName:String){leturlString:String="\(myurl)\(fileName)"varlocalPath:NSURL?letdestination=DownloadRequest.suggestedDownloadDestination(for:.documentDirectory)Alamofire.download(urlString,method:.get,encoding:JSONEncoding.default,to:destination).downloadProgress(queue:DispatchQueue

ios - 使用 SSZipArchive 解压缩文件 - Swift

我正在尝试使用SSZipArchive框架解压缩文件。letunzipper=SSZipArchive.unzipFileAtPath(String(document),toDestination:String(documentsUrl))这就是我目前正在尝试解压的文件,这是文件的路径:unzipFileAtPath-文件路径:file:///private/var/mobile/Containers/Data/Application/94ADDB12-78A2-4798-856D-0626C41B7AC2/Documents/tSOUTrIayb.zip假的我正在尝试将其解压缩到此路

swift - Lint 具有 SSZipArchive 依赖项的 Swift cocoa pod

有人有幸创建了一个依赖SSZipArchive的pod吗?我的类(class)都在Swift中,但我也包括我的桥接文件(#import"SSZipArchive")。当我尝试lint时,我收到9个错误,所有错误都与SSZipArchive相关。请让我们知道您的想法。非常感谢!错误|SSZipArchive/SSZipArchive/minizip/ioapi.h:45:10:错误:在框架模块“SSZipArchive.ioapi”中包含非模块化header注意|TargetSupportFiles/Pods-SSZipArchive/Pods-SSZipArchive-umbrella

python - 无法使用 SSZipArchive 在 iOS9 中解压缩大型 zip 文件 (3.3GB)

如标题所示,我使用pythonzipfile模块从我的Django后端服务器(托管在Ubuntu14.04.1LTS上)创建了zip文件:zipfile.ZipFile(dest_path,mode='w',compression=zipfile.ZIP_DEFLATED,allowZip64=True)我设法在Finder中使用我的Mac打开它,但使用SSZipArchive没有成功图书馆。我已经尝试使用master分支的最新提交并标记v1.0.1和v0.4.0。使用v0.4.0,我在unzip.c的第1506行出现错误:if(unz64local_CheckCurrentFileC

python - 无法使用 SSZipArchive 在 iOS9 中解压缩大型 zip 文件 (3.3GB)

如标题所示,我使用pythonzipfile模块从我的Django后端服务器(托管在Ubuntu14.04.1LTS上)创建了zip文件:zipfile.ZipFile(dest_path,mode='w',compression=zipfile.ZIP_DEFLATED,allowZip64=True)我设法在Finder中使用我的Mac打开它,但使用SSZipArchive没有成功图书馆。我已经尝试使用master分支的最新提交并标记v1.0.1和v0.4.0。使用v0.4.0,我在unzip.c的第1506行出现错误:if(unz64local_CheckCurrentFileC

ios - 快速解压文件

如何快速解压缩文件?在Objective-C中,我使用了SSZipArchive,我很喜欢它。如下面的代码所示。我怀疑如果我决定保留SSZipArchive,IwillhavetobridgeanObjective-CfiletomySwiftfile.是否有任何更新的第三方或更好的Apple文档可以在Swift中解压缩文件?NSString*zipPath=[self.globalFileStrucurestringByAppendingPathComponent:@"zipfile.zip"];[datawriteToFile:zipPathoptions:0error:&erro

ios - 快速解压文件

如何快速解压缩文件?在Objective-C中,我使用了SSZipArchive,我很喜欢它。如下面的代码所示。我怀疑如果我决定保留SSZipArchive,IwillhavetobridgeanObjective-CfiletomySwiftfile.是否有任何更新的第三方或更好的Apple文档可以在Swift中解压缩文件?NSString*zipPath=[self.globalFileStrucurestringByAppendingPathComponent:@"zipfile.zip"];[datawriteToFile:zipPathoptions:0error:&erro

ios - SSZiparchive 简单解档

我正在构建一个从zip文件下载大量数据的应用程序。我下载了zip文件,但想提取pdf文件目录。我正在使用SSZipArchive,但我的代码无法正常工作。我想我没有正确解压缩它。我的代码:[datawriteToFile:filePathatomically:YES];//UnzippingNSString*destinationPath=[documentsDirstringByAppendingPathComponent:@"catalogus"];;[SSZipArchiveunzipFileAtPath:filePathtoDestination:destinationPath

ios - SSZipArchive 的 C header 中的 "Include of non-modular header inside framework module"

我正在尝试在我的SwiftiOS项目中使用SSZipArchiveobjc库。我做了什么:创建了一个Objective-C“CocoaTouch框架”按照thisguide将SSZipArchive的Objective-C和C文件导入其中。根据thisanswer将所有Cheader更改为公开根据thisanswer更改build设置以允许非模块化包含框架编译良好。我以前使用这种方式设法在Swift项目中使用Objective-C库,所以我猜这些步骤是正确的吗?现在的问题是,当我尝试在我的项目中导入SSZip并尝试编译时,它会为SSZipArchive的每个C头文件提供“在框架模块中包
12