user831098
user831098

Reputation: 1823

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

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

Upvotes: 10

Views: 11384

Answers (3)

Ben Wheeler
Ben Wheeler

Reputation: 7344

Just restarting XCode worked for me.

Thanks, XCode.

Upvotes: 12

Ruud Visser
Ruud Visser

Reputation: 3509

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

Upvotes: 62

user831098
user831098

Reputation: 1823

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"

Upvotes: 23

Related Questions