2012-04-02 3 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

답변

4

프로젝트에서 AQGridView 개 파일을 모두 제거한 다음 다시 추가하지만 빌드 대상을 선택하기 전에 Add to targets 체크 박스를 추가 할 때 반드시 확인하십시오. 파일이 올바르게 추가되었지만 대상에 제대로 연결되지 않은 것으로 보입니다.

관련 문제