iphone编程过程中出现的问题
在本文档中总结自己编写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 楼 mvj3 2010-12-24 原来到都是是说未引用库文件所致,现在在Xcode里把要用到的.m文件加上就可以了,多谢!!