Add zxing in Xcode 4

I am adding zxing to my project.

  • First, I copied the iphone folder to my project directory.

  • Then copy the cpp folder to my project directory.

  • Dragged ZXingWidget.xcodeproj into Xcode.

  • Add dependency.

  • Associated with the library.

  • Now for heading search paths I don’t know what to put. Here is what my setup looks like: enter image description here

For header search paths, I entered:

  • "ZXing / Iphone / ZXingWidget / Classes"
  • "ZXing / CPP / kernel / SRC /"

But when I try to import QRCodeReader.h, it tells me that it was not found. Therefore, I assume that it has something to do with header search paths. Can anyone argue that the paths introduced by me are correct? If not, what could be wrong? Thanks.

+8
ios objective-c cocoa-touch xcode4 zxing
source share
2 answers

Verify that the Recursive checkbox is selected in the build settings, where ZXingWidget / Classes are added to the header search path.

0
source share

I wrote a great article about the problems of installing ZXing in iOS. Read here .

0
source share

All Articles