Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iPhone SDK - Is Zlib part of the SDK?

Is zlib already part of the SDK?

I want to download and unzip a ZIP file programatically. I have my own ZipFileStream implementation. Just need to incorporate the Zlibstream class. I can download the source from zlib.net but was wonder if there was native support for it.

-TRS

MacBook, Mac OS X (10.5.2)

Posted on Apr 21, 2008 12:24 PM

Reply
6 replies

May 25, 2008 1:05 PM in response to Scott_Lawrence

The iPhone SDK does contain zlib.h in the usr/include folder of the SDK. But when i usee one of the APIs like uncompress() then i get a link error. There is no information about which library/framework to include to get this linked.

Also there is a zlib port for iPhone at Mac ports.

http://db.macports.org/port/show/4166

It has a download for a file with portpkg extension. When i downloaded it to my macbook there is no defaut application to unarchive it. How can get it installed if at all.

If anyone can shed some light on this it would be greatly helpful to me and many others like me.

Thanks,

TRS

iPhone SDK - Is Zlib part of the SDK?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.