Couldn't open xib file after git pull, invalid element name
Glad you corrected the issue. I recently ran into the same issue. It a merge conflict and that is why Xcode is throwing that error. Within the .xib
file you will see something like:
<<<<<<< HEAD// code=======// code>>>>>>> apps
You can do what you did above, or manually correct the merge conflict issues by opening the .xib file in a text editor. After correcting it the file should open fine in Xcode.
I think @Tom Harrington is right, xib file was corrupted, So
- I cancelled the last pull.
- Made the changes by my self in XIB.
- Take a copy from that XIB.
- git pull
- Delete the XIB in Xcode ( which was corrupted ).
- Added the external copy from modified XIB file.
Then every thing works great.Thanks guys :)