Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 963
Bhumit Mehta Avatar asked Jun 16 '16 06:06

Bhumit Mehta


3 Answers

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.

like image 199
Bhumit Mehta Avatar answered Nov 14 '22 12:11

Bhumit Mehta


I have a solution:

  1. Open storyboard as "source Code" (right click on storyboard -> open as -> source code).
  2. Delete this row:

<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  1. Delete this for all storyboards which you are using.
  2. Run app.
like image 23
Himanshu Avatar answered Nov 14 '22 12:11

Himanshu


It's work for me

Right,click on main.stoaryboard.Go to open as -> source code and change dependencies

change

 <capability name="documents saved in the Xcode 8 format"
     minToolsVersion="8.0"/>  to

   <capability name="documents saved in the Xcode 7 format"
     minToolsVersion="7.0"/>

Follow the same step on launchscreen.stoaryboard

like image 27
Preeti Avatar answered Nov 14 '22 13:11

Preeti