Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rahulvaishnav

macrumors newbie
Original poster
Jul 16, 2009
1
0
Hi all,

I want to extract a zip file at particular path using Objective C on Mac OS.
After googling I came to know that ZipArchive is the library someone has provided. But I could not compile it in Mac , I am facing errors while compiling it. Can any one please let me know some solution for Unzipping a zip file.

I will be very thankful.

Regards,
Rahul Vaishnav
 
zlib is part of Mac OS X, I see /usr/lib/libz.dylib and /usr/include/zlib.h. It's pretty much the de facto zip/unzip implementation.

I'm not sure how well-documented it is, you're probably better off forking a process and getting "unzip" to do it for you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.