Xcode 6 Swift 代码完成不起作用 [英] Xcode 6 Swift code completion not working

查看:43
本文介绍了Xcode 6 Swift 代码完成不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Xcode 6 GM 种子时,我的代码完成已停止工作.前几天还在工作.我试图让 unwind segue 工作正常工作.我制作了一个 Objc 头文件并将其分配为 Swift 类的头文件.

Using Xcode 6 GM seed my code completion has stopped working. It was working the other day. I was trying to get the unwind segue work around to work. I had made an Objc header file and assigned it as a header for a Swift class.

此时我得到了一个 Objective-c 项目的代码完成.但是,不适用于 Swift 项目.

At this point I get code completion with an Objective-c project. But, not with a Swift project.

我尝试重新启动 Xcode,创建一个新的空项目.

I have tried restarting Xcode, making a new empty project.

推荐答案

只需进入 user->Library->Developer->Xcode->DerivedDatadelete 文件夹的数据(派生数据)和重启 Xcode.

Just go in user->Library->Developer->Xcode->DerivedData and delete the Data of folder(Derived data) and restart Xcode.

这篇关于Xcode 6 Swift 代码完成不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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