Reputation: 2663
How can I downgrade one of the storyboards that was created in xcode 6 to xcode 5? Note that I am using xcode 5.
Upvotes: 2
Views: 1254
Reputation: 385890
You must use Xcode 6 to downgrade a storyboard. If you can't run it, you need to find a friend who can.
Open the storyboard in Xcode 6. In the File Inspector, find the “Opens In” menu and set it to “Xcode 5.1”. If the storyboard uses size classes, choose the size class to preserve. Save the file.
Upvotes: 10
Reputation: 5065
Already answered before by @Mark Edington
Perform these steps to make a storyboard modified by Xcode 6 load and compile again with Xcode 5:
Using Xcode 6:
1. Set the "Opens in" to Xcode 5.1 in the Interface Builder Document Section of the storyboard File Inspector
2. Uncheck the "Use Size Classes"
3. Delete the constraints added using Xcode 6
4. Ensure that the storyboard no longer contains this key at the top of the file:
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
Upvotes: 1
Reputation: 13549
Open your storyboard in Xcode. Open the Utilities panel on the right, click on the File Inspector tab, and choose from the Interface Builder Document dropdown.
Upvotes: 1