The document “Main.Storyboard” could not be opened. Unrecognized file content

不羁的心 提交于 2019-12-10 14:25:35

问题


I cannot open my Storyboard after updating from Xcode 7 to Xcode 8. Can anyone help? Inside it did not show any error.


回答1:


For me opening the storyboard as "Source code", fixing merge conflicts and then also restarting Xcode did the job.




回答2:


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"



来源:https://stackoverflow.com/questions/39760818/the-document-main-storyboard-could-not-be-opened-unrecognized-file-content

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!