Can't Open Project in Xcode 4.6 After Opening in 5.0

前端 未结 7 1590
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-02 02:31

I opened the wrong version of my project in Xcode 5 and now Xcode 4.6 crashes when trying to open that project. I only changed one xib file in Xcode 5 and using Xcode 5 hav

相关标签:
7条回答
  • 2021-01-02 02:50

    Its easier than that to recover your existing project. Open the project file on Xcode 5. Then:

    1. Open file inspector for each xib
    2. On "Interface Builder Documents" section change "Open with" to Xcode 4.6 (if it's 5.0). Adjust any other obviously incompatible parameters
    3. Save, Close the project and open with the old Xcode.
    0 讨论(0)
  • 2021-01-02 02:54

    This is why because when you open project in xcode 5,All library and xib contol change based on xcode 5 so preview of both xcode 4.6 and 5 will be different.

    0 讨论(0)
  • 2021-01-02 02:56

    Change the Interface Builder Documents > opens in to Xcode 4.6

    enter image description here

    0 讨论(0)
  • 2021-01-02 02:56

    It's probably the case that opening the project in Xcode 5 caused it to upgrade the project to a new format automatically (even if you only manually changed one or two files). That upgrade is usually not-reversible. You can probably restore from a backup or from version control.

    If you don't have a backup or version control, you should perhaps consider setting that sort of thing up before using beta / developer preview software on production projects that matter in the future.

    In that case, you can probably re-create the Xcode 4 project and re-add all your files, et cetera.

    0 讨论(0)
  • 2021-01-02 02:58

    Very simple to get your current project. Open the project file on Xcode 5. Then:

    a).Open file inspector for each xib b).On "Interface Builder Documents" section change "Open with" to Xcode 4.6 (if it's 5.0). c).Adjust any other obviously incompatible parameters Press cmd +S (Save project), Close the project and open with the old Xcode.

    0 讨论(0)
  • 2021-01-02 03:10

    Actually this has a very simple answer.

    Open the Storyboard file on Xcode 5, And then: 1. Open file inspector 2. On "Interface Builder Documents" section change "Open with" to Xcode 4.6 (if it's 5.x). 3. Save, Close the project and open that with old Xcode.

    It should work now.

    0 讨论(0)
提交回复
热议问题