Lost completion in #import “myFile.h”

后端 未结 2 826
别那么骄傲
别那么骄傲 2020-12-29 06:37

Since I had Xcode 4.4, I have lost the completion when I want to import file on my classes. I have to write the file entirely (The problem appears only in the import scope,

2条回答
  •  温柔的废话
    2020-12-29 07:01

    Go to your project --> build settings --> User Header Search Paths and add $(SRCROOT)

    That works for me.

    Edit (another solution) : Sometimes I lost autocompletion randomly in my import scope. I fix it by typing the double quotes #import "" before typing my class between with the autocompletion.

提交回复
热议问题