But I'm still having some error lines and don't know where did they come from. Here's a sample of an error I'm facing :
'"_unzCloseCurrentFile", referenced from:'
'-[ZipArchive UnzipFileTo: overWrite:] in ZipArchive.o'
The others are similar to this one.
Did you resolve this? I am seeing 16 errors of a similar nature when I try to build. Wasn't able to find any documentation on how to add the libraries to an existing project.
Here's what I tried:
1. Drag and drop of the minizip folder, ZipArchive.h and ZipArchive.mm to my existing project. Selected the following options:
* Selected - Copy items into destination group's folder (if needed)
* Reference Type: Relative to Enclosing Group.
* Create Folder References for any added folders
2. Added libz.1.2.3.dylib framework via Target > General > Linked Libraries
Did you resolve this? I am seeing 16 errors of a similar nature when I try to build. Wasn't able to find any documentation on how to add the libraries to an existing project.
Here's what I tried:
1. Drag and drop of the minizip folder, ZipArchive.h and ZipArchive.mm to my existing project. Selected the following options:
* Selected - Copy items into destination group's folder (if needed)
* Reference Type: Relative to Enclosing Group.
* Create Folder References for any added folders
2. Added libz.1.2.3.dylib framework via Target > General > Linked Libraries
I'd sure appreciate any suggestions. Thanks.
I added to my project, however with virtual folders (the yellow one) for the minizip package, thus the imports on ZipArchive.h had to be changed from "minizip/zip.h" to only "zip.h", maybe it helps.
I am currently using this method in my application, but just for information sakes. When a user downloads the app in the App Store, and uses the application and happens to download and unzip a few files. If an update for the application is released soon after, if the user downloads the update would their unzipped files remain or disappear?
I'm having major issues importing this ^_-
I tried the blog, but half of it is in japanese.
So when u download the library.
Import the 3 files into ur Xcode.
First error is the call in the ZipArchive with the include's.
So taht's fixed, but still 75 error's left. So can't use this.
Any experience, or guides on this?
I'm having major issues importing this ^_-
I tried the blog, but half of it is in japanese.
So when u download the library.
Import the 3 files into ur Xcode.
First error is the call in the ZipArchive with the include's.
So taht's fixed, but still 75 error's left. So can't use this.
Any experience, or guides on this?
Greets, Noxx
Hey Noxx,
I am not able to tell where you having the problem, can you post here or send me a PM of a screenshot of the area you are experiencing problems?
I downloaded the project from somewhere else, who tried to implement it, that works like a charm, but have no idea yet, how to use it, well. where to find the documentation
I downloaded the project from somewhere else, who tried to implement it, that works like a charm, but have no idea yet, how to use it, well. where to find the documentation
I wrote a simple class for compressing and extracting files. It works depend on minizip, which is a open source zip format library. And it’s included in the attachment.
it's simple but meet my own requirement
The major class name is ZipArchive, it’s easy to use, you can declare a instance and call initialize functions, and then call addFileToZip or UnzipFileTo to finish compression or uncompression.
Does anyone know what type of zip passwords/encryption this class supports? I am trying to unzip a password protected file created by command line like the following:
I sure feel stupid. My problem was that I was referencing the documents directory only and not with the zip file name appended for the UnzipOpenFile call... Long day
Hello i deploy this code and thanks... works!! but i have a issue.. i try to unzip an file what i download from ftp this file is generate from a ddl in sqlserver.. now the weird is if i try to unzip this file dont happend anything.. but if i unzip this file in mi mac and zip again in mac and unzip whit this code works..
So.. i dont understand why i can unzip files made in mac and dont unzip the others.. any?
Hello i deploy this code and thanks... works!! but i have a issue.. i try to unzip an file what i download from ftp this file is generate from a ddl in sqlserver.. now the weird is if i try to unzip this file dont happend anything.. but if i unzip this file in mi mac and zip again in mac and unzip whit this code works..
So.. i dont understand why i can unzip files made in mac and dont unzip the others.. any?
Where are you getting the zip files???
I usually make them on my iPod (Jailbroken) and ssh them to computer and upload to ftp server. If the files are coming from windows, there is your problem.
Also, just wondering, how can I unzip a zip with a passcode???
I usually make them on my iPod (Jailbroken) and ssh them to computer and upload to ftp server. If the files are coming from windows, there is your problem.
Also, just wondering, how can I unzip a zip with a passcode???
I get the files from the ftp server... the weird is this files this library dont un zip but if i unzip manually and zip again in my mac, and unzip whit this library works.. :S so i dont know why.
I get the files from the ftp server... the weird is this files this library dont un zip but if i unzip manually and zip again in my mac, and unzip whit this library works.. :S so i dont know why.
Where are they originally made?
1. On Linux (your server, please tell me which linux distro)
2. On windows
There are slight nuance differences in the original zip source code (or perhaps the compilation might affect this)