The .xib document could not be opened. Failed to read archive

I have used xcode 4.6 in the last 4 months.

All applications still work.

Now I got the new application source code for some changes.

When I run the application. I show an error that was

The document "DetailTransactionPage.xib" could not be opened. Could not read archive.

Please use a newer version of Xcode. Consider changing the document Development Target to preserve compatibility

Any interface designer cannot open.

I tried to open with 4.5.2, 4.3.3, but did not use.

enter image description here

+6
source share
3 answers

I believe that the source code you have can be built with a different version of Xcode, and not now.

So, I think you need to follow these steps.

  • Right-click the XXX.xib file and select Show File Inspector.

  • Go to Document Builder Document.

  • Change your development option with the version of Xcode you are using.

Hope this helps.

+10
source

This error occurs because of the xib created with Xcode 5. You need to install Xcode 5 to be able to change the compatibility properties for this xib file. After installing and opening xib, you need to change the property โ€œOpens inโ€ and set it to โ€œXcode 4.6โ€ and โ€œView Asโ€ for iOS 6.1, as from File Inspector xib.

+8
source

I met this problem when I upgrade xcode 6.4 to xcode 7. What I did to solve this problem: delete the LaunchScreen.xib file.

0
source

Source: https://habr.com/ru/post/954396/


All Articles