iosgitxcode5xibbitbucket

Couldn't open xib file after git pull, invalid element name


I am working on project with another developer. We are working on bitbucket.

The problem is he made a changes in XIB files. After that when I do a git pull, I receive the changes but get an error on XIB files. When I tried to open it, a show alert message saying could not opened

Line 81 startTag: invalid element name.

Screenshot added

Thanks :)


Solution

  • I think @Tom Harrington is right, xib file was corrupted, So

    1. I cancelled the last pull.
    2. Made the changes by my self in XIB.
    3. Take a copy from that XIB.
    4. git pull
    5. Delete the XIB in Xcode ( which was corrupted ).
    6. Added the external copy from modified XIB file.

    Then every thing works great. Thanks guys :)