The document Main.storyboard requires Xcode 8.0 or later
Solution 1
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:
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.
Solution 2
I have a solution:
- Open storyboard as "source Code" (right click on storyboard -> open as -> source code).
- Delete this row:
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- Delete this for all storyboards which you are using.
- Run app.
Solution 3
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
Solution 4
Same issue occurred after shifting from Xcode 9 to Xcode 8. I opened the storyboard in source code and changed
"<capability name="Safe area layout guides" minToolsVersion="9.0"/>"
to <capability name="Safe area layout guides" minToolsVersion="8.0"/>
After this change when you will open storyboard in Interface builder this line will be removed.
Solution 5
I met this question too. I followed this method to change it: because I couldn't click the menu to choose 7.0 or later, I opened the main.storyboard
and launchscreen.storyboard
with source code, than I changed it's version manually and this solved the issue.
Comments
-
Bhumit Mehta almost 2 years
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.
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
-
malhal almost 8 yearsI had trouble getting the change to stick but what I did was change it, then save and close, at which point it didn't actually save because was still grey, then I quite Xcode (which hung) then force quit it, and now the storyboard is working in Xcode 7 phew!
-
mars almost 8 years@Bhumit Mehta It's not working when I have 2 different storyboards for ipad and iphone. Changes are saved only for one of them. Plz tell me any workaround.
-
Bhumit Mehta almost 8 years@mars : You just need to repeat the same steps for both storyboards, I tried it in a test project and it worked.
-
mars almost 8 years@Bhumit Mehta Thnx 4 ur quick reply. When i make the above changes for ipad it saves them. But on repeating these steps for iphone it saves them too but ipad again shows up Latest Xcode(8.0).
-
sudoExclaimationExclaimation almost 8 yearsthis worked perfectly!!! Thanks! Since I had made changes to 2 storyboards, I had to reopen the project and do the change on both and do save and close and then open in xcode 7.
-
Dani.Rangelov over 7 yearsHere is the line before the changes: <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> After the changes: <capability name="documents saved in the Xcode 7 format" minToolsVersion="7.0"/>
-
natecraft1 over 7 yearswhere is Interface Builder Document?
-
Massmaker over 7 yearsBUT if you again will open a project in xCode 8 and go into a storyboard - you will have the storyboard file messed again and You will have to switch back to the 7.x again - and "Save and Cose" again
-
Bhumit Mehta over 7 years@natecraft1 You can find Interface Builder Document in File Inspector of storyboard.
-
Elangovan over 7 yearsAfter completing above steps, when opening storyboard as interface builder Xcode crashed !!!
-
huwiler over 7 yearsThis procedure and others listed here as highly accepted answers (e.g. changing or removing the compatibility tag) may have worked in beta versions of xcode 8, but none of them are working for me in version 8.0. The only way to fix was to revert to a version prior to opening in xcode 8 (as Wain pointed out initially).
-
GeneCode over 7 yearsXCode 8.0 release version (non beta) shows minToolsVersion="6.0"
-
GeneCode over 7 yearsThis may have worked in XCode 8 Beta. But in XCode 8 release, doing this will crash XCode.
-
Arfan Mirza over 7 yearsthis is not working now, still error, and it auto set to 8.0 as storyboard open
-
kiedysktos over 7 yearsthe accepted answer sounds far more secure than just deleting a line
-
jinglei over 7 yearsReplacing the code with different figures doesn't work for me. Only deleting the line of code fix the error. The accepted answer seems only to work when you already have Xcode8.
-
Kampai over 7 yearsThis is so far the best solution, in case you dont have Xcode 8.0
-
Amit over 6 yearsThanks for the solution. Same issue occurred after shifting from Xcode 9 to Xcode 8. I changed "<capability name="Safe area layout guides" minToolsVersion="9.0"/>" to <capability name="Safe area layout guides" minToolsVersion="8.0"/> . After this change when you will open storyboard in Interface builder this line will be removed.
-
Siempay over 6 yearsthnks you saved me some hours of work, xcode alert me that some strange thing were found and repaired so my file will be fine after this modification?