【发布时间】:2011-11-10 08:59:04
【问题描述】:
我想使用QuickDialog,但我不能毫无错误地使用它。
这就是我所做的:
将 .xcodeproj 项目拖到我的 Xcode 4 项目中。选择了默认选项“为任何添加的文件夹创建组”和“添加到目标”
从 Xcode 侧边栏中选择我的项目,然后选择我想要添加 QuickDialog 的目标。
选择了构建阶段选项卡。
在 Target Dependencies 组下,点击加号按钮,选择 QuickDialog 静态库目标。
在 Link Binary Libraries 组下,单击加号按钮,选择 libQuickDialog.a。
在目标的标头搜索路径中添加了“$(SOURCE_ROOT)/Build”。
在其他链接器标志中添加了“-ObjC”
现在,如果我构建 (cmd + b) 一切正常!但是,如果在我自己的代码中,我会添加,例如:
#import "QRootElement.h"
我收到很多错误:
'QRootElement.h' file not found
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1
error: unable to open executable '/Users/myUser/Library/Developer/Xcode/DerivedData/SaGASForm-gvoiwjscornqdcfjxbxtdjcwxnwq/Build/Products/Debug-iphoneos/ProjectForm.app/ProjectForm'
我的项目已设置为使用带有 LLVM 3.0 的 ARC。
我做错了什么?
【问题讨论】:
标签: objective-c xcode4