Xcode 7.3.1 自动完成代码完成不起作用 [英] Xcode 7.3.1 autocomplete code completion not working

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

问题描述

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

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

我试过了:

  • 删除派生数据文件夹
  • 清理目标并构建
  • 重新安装 Xcode

在您第一次完整输入后它会自动完成.但是如果你没有引用它一次(即像枚举),它只会显示你之前输入的内容(不显示完整的枚举列表).按 Esc 键也无济于事.

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?

推荐答案

没有做任何事情,在 Build-Settings -> Deployment 中将 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 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天全站免登陆