开发者

Add zxing to XCode 4

I am adding zxing to my project.

  • I first copied the iphone folder to my project directory.

  • Then copied the cpp folder to my project directory.

  • Dragged the ZXingWidget.xcodeproj into XCode.

  • Added the dependency.

  • Linked the library.

  • Now for header search paths, I don't know what to put. Here's what my setup looks like:

    Add zxing to XCode 4

For header search paths, I entered:

  • “zxing/iphone/ZXingWidget/Classes"
  • “zxing/cpp/core/src/”

But when I try to import QRCodeReader.h it's telling me it's not found. So I am guessing it has 开发者_如何学运维something to do with header search paths. Can someone firm that the paths I entered are correct? If not, what could be wrong? Thanks.


Be sure that Recursive check box has been checked in Build Settings where ZXingWidget/Classes are added to the Header Search Paths.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜