The document "Main.Storyboard" could not be opened. Unrecognized file content
10,038
Solution 1
I just find a solution as below:
Make sure the storyboard extension should start from lower case s. Ex: it should be "Test.storyboard" not "Test.Storyboard"
Solution 2
For me opening the storyboard as "Source code", fixing merge conflicts and then also restarting Xcode did the job.
Solution 3
Just restarting XCode worked for me.
Thanks, XCode.
Author by
user831098
Updated on July 21, 2022Comments
-
user831098 almost 2 years
I cannot open my Storyboard after updating from Xcode 7 to Xcode 8. Can anyone help? Inside it did not show any error.
-
Jake T. about 7 yearsRestarting did it for me. I had opened the storyboard in interface builder fine, then opened as source code to remove plain styling from navigation items, and then it wouldn't let me open in interface builder even after git resetting that file to the previous state. All it took was an xcode restart.
-
Jordi Gámez about 5 yearsIt worked when restarting Xcode! Thanks for sharing.
-
Mahan Mirshafa over 3 yearsRestarting did it for me as well! You have no idea how grateful I am :))