Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
285 views
in Technique[技术] by (71.8m points)

ios - The document Main.storyboard requires Xcode 8.0 or later

I downloaded Xcode beta and opened my existing project to see how it works with Xcode 8 beta (I opened Storyboard file from Xcode 8).

Now when I open my project from Xcode 7.3 I am not able to open storyboard file , it gives me following error

This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8.0 or later.

Xcode 7 error What should I do to revert back, as I want to continue working on Xcode 7.

In Xcode 8 I was prompted to select device and I selected iPhone 6S, I think that part is somehow responsible for storyboard file not opening in Xcode 7

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I have figured it out:

Open your Storyboard in Xcode 8.

Click on the File Inspector.

In Interface Builder Document section, select Opens In "Xcode 7.x" instead of "Latest Xcode (8.0)", as in following screenshot:

enter image description here

On doing this, you will get an alert saying "Saving for Xcode 7.x will close your document and data for Xcode 8.0 features will be removed."

Click Save and Close and you will be able to open storyboard in Xode 7.x.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...