Storyboard loads forever with "An internal error has occurred editing functionality may be limited"

Having this issue since beta 3 came out and hoped that beta 4 will fix this, but it didn't.

Every time I'm opening Main.storyboard in xCode, I'm getting the death wheel (colorful endless spinning wheel) with the error "An internal error has occurred editing functionality may be limited".

The only option I have is to "Quit immediately", but when opening xCode again, it loads the storyboard since is the last file I've opened, so the only way to be able to use xCode at all is to go to the project directory, right click on the .xcworkspace file, click "Show package contents", locate the file "UserInterfaceState.xcuserstate" and delete it.

Only after deleting this file I'm able to use xCode as normal as possible and of course, the storyboard is still not accessible.


Well, I've reported to Apple via the Feedback Assistant and via the email and also updated them that it happens also in beta 4, but it doesn't seems like anyone cares about it.


It doesn't seems to happen with any other storyboard file from other projects and the launch screen file, it's only in this specific file, but the exact same file (without any changes) was working perfectly with xCode beta 2.


Also, since this issue has begun, some specific ViewController's localization stopped working(?), it's just showing this specific one in English (base) translation while the whole app is showen in anouther language (the device's/simulator's main language, it happen on both iOS 12 & 13), maybe it's related some how? 😕


* Tried everything from restart the Mac to deleting Derived Data (several times), went all over google (this forum, stackoverflow and some more places) - nothing helps.

This is the closest description to my issue, that of course, doesn’t have any helpful answer.

* The app is running fine on real device/simulator with iOS 12/13 (respectively).

*I have xCode 10.2.1 installed, but can't open the project or the storyboard there 'cause I've adopt iOS 13 color scheme that doesn't supports there.

* Using macOS 10.14.4 (18E226)


Any suggestions? I'll really appreciate any kind of help.


The storyboard file (remove the spaces around "google"):

drive. google .com/file/d/10ynwU7mtTIUE8pW2Ud4dHtSAzJTv5vEc/view

Replies

I did get this error in the past.


If I remember well, that was due to some error in code (a bad referenced optional ? I will look to find what it was exactly)


This old post may also be helpful

https://forums.developer.apple.com/thread/65876


That seems to be a duplicate post in Interface Builder, isn't it ?


Could you please close one of them ?

The post you've attached isn't simillar to my issue, it says: "but I am able to click on a specific view and still can see their properties defined through attributes inspector", while my storyboard isn't loading at all, all I can see is the ActivityIndicator loading forever with the death wheel (colorful endless spinning wheel).

Also, the one from Apple's staff said that the solution there shouldn't be done and it doesn't really solving the issue.


Yes, it is duplicate to get the most attention that it can, if someone will see one of the threads, they may not see the other so at least one of them will get an answer.


I know that the issue is related to the storyboard source code, when I've tried to comment some code there (accidentally with /* */), the story board showed up, but crashed becaused of the incorrect comment-way.


May you look at the code in the link that I've attached at the bottom of the first comment?

The only sulotion I could find is to downgrade to xCode 11 beta 2 (link to download) that doesn't have this annoying issue.

Hope that they would solve this before the last realese.