mashdup mashdup - 1 year ago 171
iOS Question

Xcode 7.3.1 autocomplete code completion not working

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

Simple import class and it can't autocomplete

I have tried:

  • Deleting Derived Data folder

  • Clean Targets and Build

  • Reinstalling 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?

Answer Source

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

enter image description here

It also works for XCode 6 as mentioned here

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download