我正在尝试在应用程序中使用AQGridView。我将所有文件复制到我的项目中,但一直收到错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AQGridView", referenced from:
objc-class-ref in GridViewController.o
"_OBJC_CLASS_$_AQGridViewCell", referenced from:
_OBJC_CLASS_$_GridViewCell in GridViewCell.o
"_OBJC_METACLASS_$_AQGridViewCell", referenced from:
_OBJC_METACLASS_$_GridViewCell in GridViewCell.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)我做错了什么?我已经添加了所有必要的文件
发布于 2012-04-03 20:39:23
从项目中删除所有AQGridView文件,然后重新添加它们,但确保在选中构建目标之前添加Add to targets复选框。文件似乎添加正确,但没有正确链接到您的目标。
https://stackoverflow.com/questions/9985284
复制相似问题