[英]_OBJC_CLASS_$_ - symbol(s) not found error
I create a new application for iPad starting from an UISplitView application that works correctly, in the new application I get this error: 我从一个正常工作的UISplitView应用程序开始为iPad创建一个新应用程序,在新应用程序中我收到此错误:
"_OBJC_CLASS_$_ConcertListController", referenced from:
objc-class-ref-to-ConcertListController in RootViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
What it mean? 什么意思? How can I solve? 我怎么解决?
Apparently you need to link in whatever framework ConcertListController is a part of. 显然你需要在ConcertListController所属的任何框架中进行链接。 Try going to the project window, right click on frameworks and choose add existing framework .... you should be able to find the framework including ConcertListController there. 尝试进入项目窗口,右键单击框架并选择添加现有框架....您应该能够在那里找到包含ConcertListController的框架。
I also had a similar problem. 我也有类似的问题。 My solution was remove the reference and re added those files. 我的解决方案是删除引用并重新添加这些文件。 Then it will show a window and make sure to tick on "Add to target" check box. 然后它将显示一个窗口,并确保勾选“添加到目标”复选框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.