无法插入新的插座连接 [英] Could not insert new outlet connection

查看:138
本文介绍了无法插入新的插座连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法插入新的插座连接:找不到该课程的任何信息,也没有显示任何名为ViewController的课程

Could not insert new outlet connection: Could not find any information for the class and not showing any class named "ViewController"

我做过的解决方案:
- 重新启动XCode
- 重新启动系统
- 从/ Library / developer / xcode删除Deriveddata内容

Solutions I have done : - Restarted XCode - Restarted System - Deleted the Deriveddata contents from /Library/developer/xcode

但是没有任何对我有用

以下是错误的屏幕截图

Here is the screenshot for the error

推荐答案

我遇到了和你今天相同的问题...我认为这是Xcode的一个bug,下面是解决问题的方法:

I got the same problem as you today... I think this is a bug of Xcode, below is the way to fix the issue:



  1. 关闭您正在处理的项目。

  2. 删除项目的【DerivedData】文件夹。 (此文件夹可能位于项目文件夹内,或者位于〜/ Library / Developer / Xcode / DerivedData /(您的项目)/)或您设置的其他位置。

  3. 重新启动项目。


完成这些步骤后,问题应该解决。根据我的经验,这些步骤可以解决许多Xcode问题,所以如果再次遇到Xcode的问题,请先尝试这些步骤。

After these steps, the problem should be solved. And from my experience, these steps can solve many Xcode problems, so if you got some problem with Xcode again, try these steps first.

这篇关于无法插入新的插座连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆