Interface Builder can’t determine the type of “storyboard name goes here”. This may be due to a missing SDK.

I upgraded from xcode 11.1-> 11.2.1 and started to receive a number of errors. For example:


When i click on a storyboard file:

Interface Builder can’t determine the type of “SegmentedControlViewController.storyboard”. This may be due to a missing SDK.


When I click on a SWIFT file:

The file “SegmentedControlViewController.swift” couldn’t be opened because you don’t have permission to view it.

To view or change permissions, select the item in the Finder and choose File > Get Info.


Running latest version of Catalina.

Did you reboot the Mac after upgrading to 11.2.1 ? If no, you should try.


In any case, you should file a bug report (I suppose you already did).

Yes I rebooted. No I have not filed a bug report but will.


Thanks.

What do you see when you get info on this SB file ? Which permissions ?

This is a very late response but may help others, I hope!

XCode sometimes gets confused -- particularly if you switch between multiple versions of source code. Delete DerivedData (check XCode | Preferences | Locations to find it), then do a clean build of your project. This can often help.

Interface Builder can’t determine the type of “storyboard name goes here”. This may be due to a missing SDK.
 
 
Q