1

I am making an app which zips/unzips files into documents directory using the SSZipArchive from this following github link. Then I added the following to my Xcode project,

  1. Add SSZipArchive.h, SSZipArchive.m, and minizip to your project.
  2. Add the libz library to your target

Added the necessary code in my project to zip the file, but I am getting the following lexical or preprocessor issue "minizip/unzip.h file not found". I am using Xcode 4.6.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Shantanu
  • 3,086
  • 3
  • 25
  • 32
  • You need to provide Search Paths in the configuration, telling Xcode where to search for the headers. – David H May 22 '13 at 13:52
  • @DavidH:Can you provide me a more info about what exactly I need to do in Search Paths? – Shantanu May 23 '13 at 04:58
  • For the moment put in a fully qualified path in to each folder. Create a demo project with these projects and upload to Dropbox. Or search SO for Xcode and search paths - this has been heavily discussed here. – David H May 23 '13 at 10:52

1 Answers1

-1

Perhaps you forgot to add the minizip folder to the project?

enter image description here

Javier Quevedo
  • 2,066
  • 1
  • 17
  • 27