I have created a custom cell for loading into a table. The interface is complete and now I am trying to link the xib and the class.
I have the split screen view open
It worked in my case. 1 create new project with different name 2 copy and paste file to it 3 delete file from first project 4 copy and paste file from new project to first project.
Just restart the XCode. It worked for me.
Make sure indexing has not been turned off (this was my problem). Here's how to turn it back on from the command line:
defaults write com.apple.dt.Xcode IDEIndexDisable 0
Quit XCode, then purge the derivedData using:
rm -rf ~/library/Developer/Xcode/DerivedData/*
Restart XCode and connect.
If you want, create an alias
alias purgeallbuilds='rm -rf ~/library/Developer/Xcode/DerivedData/*'
in your .bash_profile as suggested here.
I had the same issue with Xcode 6.2 In this case it was sufficient to 'touch' the target class - by adding and removing something meaningless - to force a recompile. The issue went away then.