Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Info.plist not in correct format

I was working through my iOS Xcode project just fine, and then all of a sudden when I tried to run it, I started getting the error below:

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

I'm really confused. I've looked at the past StackOverflow questions and still have not been able to fix this. Is there anyway to just generate a new infoplist? What do you guys think?

like image 981
pwoerfulafhjksdh Avatar asked Jun 13 '15 02:06

pwoerfulafhjksdh


1 Answers

I encountered the same error. Took quite a while to figure it out. Here's how I did it:

  • Go to your terminal
  • Navigate to the location where the plist file is located e.g cd /user/desktop/app/Runner/info.plist
  • Then use the plutil command like so plutil info.plist

This will show you where the error is and you can go about correcting it. I hope that helps.

like image 188
Denn Avatar answered Sep 28 '22 18:09

Denn