首页 > 其他 > 详细

could not insert new action connection could not find any information for the class named

时间:2016-06-27 19:26:50      阅读:1549      评论:0      收藏:0      [点我收藏+]

玩代码的时候遇到一问题,用的 storyboard 的时候分页不能自动获取到类,Automatic 里是空的,然后自动选到该类下的时候控件貌似可以拖过去,但是当 cennect 的时候会报错:“could not insert new action connection could not find any information for the class named”。于是猜测,target 中没有自动导入这个类,可是去查看一遍这个类的.m 文件的确存在呀。怎么办呢?退出 Xcode,在空白页使用Command+Shift+G 调出前往文件夹界面,然后输入 ~/Library/Developer/XCode/DerivedData:

技术分享

在 DerivedData 文件夹中找到你的出错的这个工程名:

技术分享

将其从中删除,最后打开这个工程,再次编译,就可以自动获取到关联类文件啦。

 

参考来源: http://blog.csdn.net/keyboardota/article/details/9614383

could not insert new action connection could not find any information for the class named

原文:http://www.cnblogs.com/sandyzhang/p/5620769.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!