Xcode 5 to Xcode 4 Project Run

2019-03-28 10:17发布

I have a project that I started in iOS SDK 6. I downloaded Xcode 5 Beta with iOS 7 and ran it successfully.

However, to submit the project, I need to go back to SDK 6 and Xcode 4. When I do, I get following message for every XIB file I have in the project:

enter image description here

How do I fix this so I can compile and run from SDK 6 and Xcode 4?

1条回答
ゆ 、 Hurt°
2楼-- · 2019-03-28 10:40

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.

This is same method like on earlier releases so I assume that's ok for NDA case (you can do the same thing on Xcode 4.6 to work with older version).

查看更多
登录 后发表回答