ITeye博客

iphone编程过程中出现的问题

libaohan · 2010-10-21 15:07 · iphone · 操作系统 · Markdown

在本文档中总结自己编写iphone程序出现的问题。

1、编译阶段出现如下问题:   Undefined symbols:    ".objc_class_name_splashViewController", referenced from:   literal-pointer@__OBJC@__cls_refs@splashViewController in imagePlayAppDelegate.o   ld: symbol(s) not found   collect2: ld returned 1 exit status   解决方法如下:在Targets的Complie Sources中看是否有.m的文件没有加到这个文件中来,如果没有添加,则添加过来,或者直接拉过来,就解决这个问题了。

评论(1)

  1. #1 楼 · mvj3 · 2010-12-24 21:29

    原来捜到都是是说未引用库文件所致,现在在Xcode里把要用到的.m文件加上就可以了,多谢!!

评论功能维护中,当前仅展示历史评论。