【问题标题】:xcode - How to downgrade xcode 6 storyboard file to xcode 5?xcode - 如何将 xcode 6 故事板文件降级为 xcode 5?
【发布时间】:2014-11-21 20:47:14
【问题描述】:

如何将在 xcode 6 中创建的情节提要之一降级到 xcode 5?请注意,我使用的是 xcode 5。

【问题讨论】:

    标签: ios xcode xcode5 xcode6


    【解决方案1】:

    您必须使用 Xcode 6 降级情节提要。如果你不能运行它,你需要找一个能运行它的朋友。

    在 Xcode 6 中打开故事板。在 File Inspector 中,找到“Opens In”菜单并将其设置为“Xcode 5.1”。如果情节提要使用尺寸等级,请选择要保留的尺寸等级。保存文件。

    【讨论】:

    • 很好的答案。我第一次在 stackoverflow 中看到动画。
    • 那个 gif 太棒了!你是怎么做到的?我很想用这个。
    【解决方案2】:

    @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. 在 Xcode 5 中打开项目,重新创建已删除的约束并编译

    【讨论】:

      【解决方案3】:

      在 Xcode 中打开您的故事板。打开右侧的 Utilities 面板,单击 File Inspector 选项卡,然后从 Interface Builder Document 下拉菜单中进行选择。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-10-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-09-11
        • 2014-12-20
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多