I have recently been experiencing a problem with Xcode 7 & (8 Beta) that when I try to add a new outlet or action connection I get this problem below, stating that Xcode could not find any information relating to that certain view controller. I have tried numerous steps to try to fix this problem but found none that actually fully solve my problem.
I had tried the following solutions:
To solve the above bug follow these simple steps:
Note: Before starting this process I recommend that you fully backup your projects. I believe nothing will happen to your projects but it's worth taking the precaution.
Force quit Xcode and open Finder
In Finder press
~/Library/Developer/Xcode/ and delete the
DerivedData folder (Make sure you empty your Trash)
Open Terminal and enter:
defaults delete com.apple.dt.Xcode
Open Xcode and the bug should be solved!