iOS 拖Xib的时候 显示 Could not insert new outlet connection
来源:互联网 发布:淘宝客服怎么应对客户 编辑:程序博客网 时间:2024/06/03 17:37
拖xib显示报错:
Could not insert new outlet connection: Could not find any information for the class named "xxx”. 这是Xcode的自身问题
1. 重新将文件加入项目
操作步骤就是选中出问题的.m和.h文件,点删除键,然后选“Remove Reference”,这样就不会真正删除文件。接着选“File -> Add Files to ...”菜单,在文件选择界面选择刚才的.m文件和.h文件将他们重新加入项目中。
(就是不彻底删除)
2. 直接删除DeriveData
操作步骤是关闭当前项目,然后关闭Xcode,然后通过Terminal或者是Finder找到下面的目录:
~/Library/Developer/XCode/DerivedData
在里面找到以你的项目开头的文件,将他们删除。
接着重新启动Xcode
3. 在Organizer中删除项目的DeriveData
如果你对Mac操作系统不了解,不知道如果操作第2种解决方法,有一个更加直接的方法,就是在Xcode中选择“Windows->Organizer”,然后选择“Projects”,选中你正在处理的项目,点击“DeriveData”对应的“Delete”按钮,Xcode会删除该项目的DeriveData,然后自动重新生成一个。
0 0
- iOS 拖Xib的时候 显示 Could not insert new outlet connection
- Xib文件拖控件关联时候报错:“Could not insert new outlet connection”
- Could not insert new outlet connection error
- could not insert new outlet connection
- Could not insert new outlet connection …
- Xcode Could not insert new outlet connection.
- Xcode 4.5"Could not insert new outlet connection"的解决办法
- Xcode的"Could not insert new outlet connection"问题
- Xcode的"Could not insert new outlet connection"问题解决方法
- 解决Xcode 的"Could not insert new outlet connection"问题
- iOS Xcode, 解决“Could not insert new outlet connection”的问题。
- ios开发---解决Xcode的"Could not insert new outlet connection"问题
- iOS Xcode, 解决“Could not insert new outlet connection”的问题。
- iOS Xcode, 解决“Could not insert new outlet connection”的问题
- iOS Xcode, 解决“Could not insert new outlet connection”的问题
- iOS Xcode, 解决“Could not insert new outlet connection”的问题。
- iOS Xcode, 解决“Could not insert new outlet connection”的问题。
- iOS Xcode, 解决“Could not insert new outlet connection”的问题。
- 自定义注解与spring事务的问题
- android清除缓存会将数据库清除吗?
- cannot determine loading status from unexperted alert open
- 云计算的三种服务模式:IaaS,PaaS和SaaS
- RabbitMq、ActiveMq、ZeroMq、kafka之间的比较,资料汇总
- iOS 拖Xib的时候 显示 Could not insert new outlet connection
- xUtils源码阅读(1)- x
- 1.3_Android Training 学习笔记_兼容不同的设备
- Android开发,appcompat-v7:24.2.1的Theme.AppCompat.Light主题下更改普通Button的颜色
- USACO2014Open Silver Dueling GPSs
- ring3-NtMapViewOfSection注入
- ReactiveCocoa框架菜鸟入门(一)——CocoaPods添加ReactiveCocoa
- ServletContext方法
- Java设计模式