关于链接的iphone是这个错误吗?

时间:2011-02-21 05:41:06

标签: iphone object file hyperlink

我导入了一些文件以在我的应用中制作calendar,但是我收到以下错误,

  "_OBJC_CLASS_$_CheckmarkTile", referenced from:
  objc-class-ref-to-CheckmarkTile in RosterCrViewController.o
 "_OBJC_CLASS_$_KLCalendarView", referenced from:
  objc-class-ref-to-KLCalendarView in RosterCrViewController.o

 ld: symbol(s) not found
 collect2: ld returned 1 exit status

看起来很像这个后期解决方案 Linking Error: Symbol Not Found

enter image description here

但是问题(基本的,noob在这里!,; p)

我不知道如何使用此屏幕显示“构成最终可执行文件的文件”(检查并希望修复错误)

link files executable

[编辑]好的感谢Rajender,现在我检查了我的文件,但现在我得到了8个错误!为什么为什么(现在所有文件都被勾选) enter image description here

非常感谢!!

1 个答案:

答案 0 :(得分:1)

"_OBJC_CLASS_$_CheckmarkTile"  this type of errors come when the class 'CheckmarkTile' is not the member of current target.

you have to make the member of current target.

there are two ways to remove these errors:-

1. right click on Groups & Files in the xCode and select Target Membership. Now make sure that the membership check box is on for the class CheckmarkTile.

2. just drag the file named CheckmarkTile to the active Target->Compile Sources.

Thats all what you need to solve these errors.