Cannot open an Xcode project in Xcode 4.5 after opening it in Xcode 5

I am working with another iOS programmer together on a project. Another programmer installed Xcode 5 on his computer and opened the project. After he sent me the project, I cannot open it in my older Xcode 4.5. First I got the following error: Unable to open document "MainStoryboard.storyboard". Failed to read archive. Use the new version of Xcode. Consider changing the design goal of the document to maintain compatibility.

Then I opened the storyboard in the source code and changed the version from 3.0 to 2.0 (and later to 1.0). After that, I tried to open the storyboard in Interface Builder and received the following error:

Unable to open document "MainStoryboard.storyboard". Unable to unlock item named "tableViewCellContentView". Edit this document with the new version of Xcode.

Do you have any ideas or suggestions?

enter image description here

+4
source share
3 answers

This works for me with Xcode 4.5.1:

Open the storyboard file as source code, change the version from 3.0 to 2.0 and replace all occurrences of "tableViewCellContentView" with "view"

+6
source

You can open the project in a new version of Xcode, and then flip the storyboard to run in Xcode 4.5. I tried this and it worked for me. For clarity, the steps are described here:

  • Open storyboard
  • Open the Identity and Type tag in the right Xcode view.
  • Set the Development value in Document Versioning to "Xcode 4.2" (my default is "Default Version (Xcode 4.1)."
  • Change the Deployment value from the project SDK (iOS 5.0) to iOS 5.0, then go back to the project SDK (iOS 5.0).
+3
source

It happened to me. I solved it as follows:

  • Open project in xcode 4.5
  • Select xib (FormViewController.xib, in your case).
  • Select File Inspector.
  • In the "Interface Toolbox" section, set "Deployment" on iOS 6.0 (this can be installed on iOS7 +).

Hope this can solve your problem. He allowed my ...

0
source

All Articles