2

How can I downgrade one of the storyboards that was created in xcode 6 to xcode 5? Note that I am using xcode 5.

3 Answers 3

10

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.

downgrading storyboard

Sign up to request clarification or add additional context in comments.

2 Comments

Great answer. First time I am seeing animation in stackoverflow.
That gif is marvelous! How did you do it? I'd love to use this.
1

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.

enter image description here

Comments

1

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"/> 
  1. Open the project in Xcode 5, recreate the deleted constraints and compile

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.