Note that there are some explanatory texts on larger screens.

plurals
  1. POCompression/Decompression library for the iPhone and Xcode 4
    primarykey
    data
    text
    <p>I have been working on a project that requires downloading a zipped file off a server, and am stuck trying to uncompress it on the iPhone. There appear to be a number of solutions such as <a href="http://www.codeproject.com/KB/library/LiteZip.aspx" rel="nofollow">LiteUnzip</a> , <a href="http://code.google.com/p/ziparchive/" rel="nofollow">ZipArchive</a> and a few others but none so apparently effective as these two. The problem I'm having is making either of them work in my Xcode 4 project. </p> <p><strong>LiteUnzip</strong> is in C and I have had extreme difficulty using it. If you have any example code on how to use it to unzip a single zipped file (containing about 60 files), that would be great.</p> <p><strong>ZipArchive</strong> seems to be the favorite around here, but I can't get it to compile without errors. I am following the instructions on <a href="http://code.google.com/p/ziparchive/issues/detail?id=4" rel="nofollow">http://code.google.com/p/ziparchive/issues/detail?id=4</a>, building a static library for iphone but I continue to get these kinds of errors:</p> <pre><code>Undefined symbols for architecture armv6: "_crc32", referenced from: -[ZipArchive addFileToZip:newname:] in libziparchive.a(ZipArchive.o) _unzReadCurrentFile in libziparchive.a(unzip.o) </code></pre> <p>All the sources I've found have success building in Xcode 3.2, but I am working in Xcode 4. </p> <p><strong>Has anybody had success in Xcode 4 with either of these libraries?</strong> Otherwise, do you know of a library that you have had success with? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload