2012-04-02 86 views
1

我想在應用程序中使用AQGridView。我將所有文件複製到我的項目中,但我不斷收到錯誤: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) 

我在做什麼錯?我擁有所有必要的文件添加

+0

另外我已經導入QuartzCore框架 – bakwarte 2012-04-02 23:42:12

回答

4

刪除所有從您的項目AQGridView文件,然後重新添加它們,但加入了Add to targets複選框勾選您的構建目標之前,請務必。看起來這些文件是正確添加的,但沒有正確鏈接到您的目標。