UIViewController class with IBOutlet collection still has connections to no longer existing storyboard

50 Views Asked by At

So, I have a class that still has connections to a deleted Drawers.storyboard file.

How do I 'clean' or remove the old connections to the non existing storyboard?

enter image description here

2

There are 2 best solutions below

1
Tycho Pandelaar On BEST ANSWER

Fixed it. It looks like it was a cache issue....

I did this in the terminal:

rm -rf ~/Library/Caches/com.apple.dt.Xcode ~/Library/Developer/Xcode/DerivedData/*
0
Putte On

Here is an easy way to solve this:

1.) Rightclick on your project. 
2.) Show in Finder
3.) Find the "Drawers.storyboard"
4.) Drag it into your project again.
5.) Enter the storyboard and right click on the view.
6.) Remove all connections.

If I'm wrong, please tell me and I'll edit my answer.