Xcode "Cannot parse contents of Info.plist"

jhilgert00 picture jhilgert00 · Oct 28, 2013 · Viewed 27.5k times · Source

I just hit a brick wall with xCode not wanting to parse my Info.plist file. I've replaced the file several times with older (identical) versions of the file that I had previously backed up, and I'm still getting the same error.

Here is the complete error message:

couldn't parse contents of '/Users/...Info.plist': The data couldn’t be read because it isn’t in the correct format.

I'm clueless on this one. I'm using xCode 5.0.1, Mavericks

Answer

Vizllx picture Vizllx · Sep 10, 2015

This is one of the best way to detect on which line the error is occurring.

Just go the directory where the plist file is present then write this command on terminal->

plutil filename.plist