【问题标题】:AQGridView not linkingAQGridView 没有链接
【发布时间】:2012-04-02 23:37:51
【问题描述】:

我正在尝试在应用程序中使用 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)

我做错了什么?我已经添加了所有必要的文件

【问题讨论】:

  • 另外我已经导入了 QuartzCore 框架

标签: iphone xcode ios5 aqgridview


【解决方案1】:

从您的项目中删除所有AQGridView 文件,然后再次添加它们,但请确保在检查构建目标之前添加Add to targets 复选框。似乎文件已正确添加,但未正确链接到您的目标。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-06-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-07
    • 2016-03-15
    • 2013-08-27
    相关资源
    最近更新 更多