Error in storyboard

I am getting an error on my Storyboard where a bar button item is enlarged and placed in the root view of a view controller. Strange.


I think I need to reinstall Xcode. How would I do that? I have three versions on my Mac mini.


It looks like I need to download the latest version instead of install it through the App Store. Where is that again?

Could you describe the error you get ? And context of the error ?

When I open the storyboard, I see a message at the top of Interface Builder that says "An internal error occurred. Editing functionality may be limited".


https://1drv.ms/u/s!AooJiM96YK-_7yBiXXRDyppLAZnH


https://1drv.ms/u/s!AooJiM96YK-_7yBiXXRDyppLAZnHWhen I click on the small round button to report the bug to Apple, a Finder window is opened with a folder selected with the name "IB-agent-diagnostics_2019-06-22_07-29-33_388000" in a folder called "T". In the pane on the left that shows errors, I see an error in gray. I copied and pasted it below:


.../Main.storyboard: notice: Discouraged Configuration: Value other than autosizing specified for width (System items, other than fixed spaces, should use autosizing)


I ran the project in iPhone Simulator. It seems to be running ok.


Is there a way for me to open one of the project files using a text editor and change the value specified in that last error message above in order to correct the problem?


I keep getting a backup of the project and opening it to see if I have the same problem. The answer is yes.


Another time the view controller windows don't have anything in them. They are just blank.


https://1drv.ms/u/s!AooJiM96YK-_7yI4jh0D7yUxdsMQ


Here is what Interface Builder looked like before, like I described in the original post.


https://1drv.ms/u/s!AooJiM96YK-_7yH54UgQgUiJ5CeT


I started having this problem since I started using Microsoft Visual Studio. I wonder if that affected Xcode somehow. Visual Studio uses Xcode.

Sorry, cannot tell about Visual Studio.


But I sometimes experience blank view controller windows with nothing in them. Without Visual studio. Need to close and reopen the project to usually correct it.


I would at least try a clean Build folder of the project (in fact option-clean).

I have same problem. Did you find solution for this?
Error in storyboard
 
 
Q