Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot be opened because the project file cannot be parsed in ios

Tags:

ios

I sync from git hub desktop development branch then I open abc.xcodeprof file I can not open error message

"abc.xcodeproj cannot be opened because the project file cannot be parsed."

I also tried create whole new reposaroty in git hub desktop. is there any solution you know that can open my abc.xcodeproj file please give me.

This error message

enter image description here

like image 985
Kaushik Avatar asked Dec 01 '15 04:12

Kaushik


2 Answers

The most common cause turned out to be, that the "conflict text" from a git merge is crept into the actual file:

<<<<<<< HEAD
                some code
=======
                some code
>>>>>>> 

You can check it by opening the project file in a text editor and then fix it. opening the project.pbxproj in a text editor made the fix easy.

Hope that helps.

like image 105
m.aibin Avatar answered Oct 03 '22 03:10

m.aibin


I ran into this issue. Fixed all cases of

<<<<<<< HEAD
            some code
=======
            some code
>>>>>>> 

But the issue was one of those markers was going through a }; that finished a block in my .pbxproj file. Going through and making sure all brackets are closed might be the answer.

like image 28
Alex Mason Avatar answered Oct 03 '22 02:10

Alex Mason