Xcode 7.3.1自动完成代码完成无法正常工作 [英] Xcode 7.3.1 autocomplete code completion not working

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

问题描述

自Xcode 7.3以来,自动完成或代码完成无法正常工作。

Ever since Xcode 7.3 the autocompletion or code completion doesn't work properly.

我试过:


  • 删除派生数据文件夹

  • 清理目标和构建

  • 重新安装Xcode

完全输入后它会自动完成第一次。但是如果你没有引用过一次(比如枚举),它只会显示你之前输入的内容(不显示完整的枚举列表)。按下逃生也无济于事。

It does autocomplete after you type it out fully the first time. But if you haven't referenced it once (i.e. like enums) it only shows what you typed out before (not showing full list of enums). Pressing escape doesn't help either.

还有其他建议吗?或其他任何经历相同的人?

Any other suggestions? Or anyone else experiencing the same?

推荐答案

无需任何操作,在构建设置 - >部署中将iOS部署目标从8.0更改为8.1为我解决了这个问题。

Without doing anything, In Build-Settings -> Deployment changing iOS Deployment target from 8.0 to 8.1 resolved the issue for me.

它也适用于XCode 6,如此处

It also works for XCode 6 as mentioned here

也适用于Xcode 8,只需将部署目标从iOS 9.0更改为iOS 9.1。

Also works on Xcode 8, Simply change the deployment target from iOS 9.0 to iOS 9.1.

这篇关于Xcode 7.3.1自动完成代码完成无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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