小编ReC*_*n11的帖子

Objective-C类参考:未找到符号错误

我已经在这个iPhone应用程序上工作了一段时间,我已经完成了它的工作.我正在扩展的项目是从我在线的subversion存储库下载的,我的教授也给了我访问权限.我不小心没有下载"root"副本或类似的东西,所以我无法对存储库进行任何更改.在我的教师帮助下,我今天下载了根拷贝并将所有类文件添加到其中,以便我可以提交更改.但是,我现在遇到了3个我以前从未见过的奇怪错误:

未定义的符号:

"_OBJC_CLASS _ $ _ mapListViewController",引用自:mapViewController.o中的objc-class-ref-to-mapListViewController

"_OBJC_CLASS_$_mapParser", referenced from: objc-class-ref-to-mapParser in mapViewController.o

"_OBJC_CLASS_$_mapTabViewController", referenced from: objc-class-ref-to-mapTabViewController in mapViewController.o

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

That is the exact error message I am getting. I have not changed any code from the version that was working completely earlier this morning. Any advice? The mapViewController file seems to be what is causing the issue, so here is that as well:

#import "mapViewController.h"
#import "locationDetailViewController.h"
#import "DPUAnnotation.h"
#import …
Run Code Online (Sandbox Code Playgroud)

iphone reference objective-c missing-symbols

9
推荐指数
1
解决办法
3万
查看次数

标签 统计

iphone ×1

missing-symbols ×1

objective-c ×1

reference ×1