Search code examples
xcodexcode4uikitcodehighlighter

XCode 4 stopped highlight and recognizing UIKit classes on project


Hi i get problem with xCode 4.

I develope project with XCode4 on home and on work.

And i store it on my USB flash drive.

Today i get some problem.

I open xib file for add outlet to code and get next error "Could not insert new outlet connection: Could not find any information for the class named ..." Class exist and property of xib file setted correctly. Could not insert new outlet connection: Could not find any information for the class named

Ok, think i, i write code and the connect using Files owner.

Next step i open code editor of .h class file and try to write UI... and see nothing. i dont get list of classes UI types

Next i saw what XCode code editor does not highlighting classes of UIKit and else frameworks too.

But i dont have this error on another projects and on it project but on home computer.

Some body have same problem?


Solution

  • Try this: Close your project. Choose Window > Organizer from the main menu. Select the Projects panel. Select and delete all copies of your project from the list. Open the project again (Xcode will rebuild the necessary information).

    This will not delete your project, but the index and other information Xcode discovers about your project. As I said, Xcode will rebuild the information as soon as you re-open the project.