Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode's .pbxproj file parsing error after merging

Tags:

xcode

ios

I merge one branch to another and when I run pod install, I get following error:

Nanaimo::Reader::ParseError - [!] Dictionary missing ';' after key-value pair for "objects", found ""
#  -------------------------------------------
#   rootObject = FC0C89D3193D83EB00EB8EA8 /* Project object */;
#  }
6905>  
   ^
#  -------------------------------------------

And also, my Xcode project is not opened showing No scheme. I cannot do something there. It seems I don't have references of some files after merging. Also, I don't have that files in Compile Sources. How can I solve this problem?

like image 388
neo Avatar asked Oct 16 '25 15:10

neo


1 Answers

Sounds like you had a merge conflict.

The surest way of solving your problem is to revert YourProject.xcodeproj/YourProject.pbxproj to the last known-good version.

Once you've done that, you can add any missing files back using Xcode.

The Xcode project file is a horrible source of merge conflicts; it always pays to be very careful when merging or rebasing.

like image 193
sam-w Avatar answered Oct 18 '25 12:10

sam-w



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!