我正在尝试在XCode 4中添加一个依赖项目。该项目的链接如下:https://github.com/jverkoey/ObjQREncoder。
作者描述了一种添加方法,但是这是针对XCode 3的。我正在尝试将其添加到XCode 4中。我将该项目拖入我的框架中,然后进入Targets和QREncoder,在Target Dependencies中添加了libQREncoder.a。然后我为头文件搜索路径添加了“src/Classes”。
当我包含“QREncoder/QREncoder.h”时,它会给我一个错误:file://somePath/FINALQRAppDelegate.m: error: Lexical or Preprocessor Issue: 'QREncoder/QREncoder.h' file not found。
这是我的项目设置方式: FINALQR是我要添加依赖项的项目,而依赖项项目在src中。
谢谢。
问题是它无法识别QREncoder类。
作者描述了一种添加方法,但是这是针对XCode 3的。我正在尝试将其添加到XCode 4中。我将该项目拖入我的框架中,然后进入Targets和QREncoder,在Target Dependencies中添加了libQREncoder.a。然后我为头文件搜索路径添加了“src/Classes”。
当我包含“QREncoder/QREncoder.h”时,它会给我一个错误:file://somePath/FINALQRAppDelegate.m: error: Lexical or Preprocessor Issue: 'QREncoder/QREncoder.h' file not found。
这是我的项目设置方式: FINALQR是我要添加依赖项的项目,而依赖项项目在src中。
谢谢。
问题是它无法识别QREncoder类。