开发者

Add zxing to XCode 4

开发者 https://www.devze.com 2023-03-17 08:45 出处:网络
I am adding zxing to my project. I first copied the iphone folder to my project directory. Then copied the cpp folder to my

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

精彩评论

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

关注公众号