Re: Odd Runtime Message
Re: Odd Runtime Message
- Subject: Re: Odd Runtime Message
- From: Chris Parker <email@hidden>
- Date: Wed, 26 Oct 2005 15:14:18 -0700
On Oct 26, 2005, at 3:08 PM, Ryan Britton wrote:
About two days ago, I started getting about 30 identical messages
like this when launching my program:
CFPropertyListCreateFromXMLData(): plist parse failed; the data is
not proper UTF-8. The file name for this data could be:
/Users/ryan/Projects/MyApp/build/Release/MyApp.app/Contents/
Resources/English.lproj/MainMenu.nib/keyedobjects.nib
However, everything still works just fine. I can open MainMenu.nib
(and all of my other nibs for that matter) in interface builder and
I can open the file it says in Property List Editor and see
everything as expected.
The program appears to be functioning perfectly, but nothing I do
seems to be able to get rid of that error.
I have tried:
- Re-saving the nib file
- Using IB's auto-backup of MainMenu.nib
- Deleting the preferences file.
- Deleting the Core Data store
The last thing I can do is to pull it out of my svn repository, but
that's more of a pain so I'd rather exhaust all other options first.
Any ideas?
What's probably happening here is the warning you're getting and the
filename it's trying to report aren't actually matching up. The log
says the name "could be" that of your nib. In this case, I suspect
it's not.
Did you add something to your project a couple of days ago that
involves reading a plist? Have you put any non-UTF8 strings into an
XML plist your program depends on? Depending on what editor you use
to muck about with the plists, one popular trigger of this error is
putting a MacRoman-encoded copyright symbol into your UTF-8 encoded
Info.plist.
You might take a pass through your sources for anything that's a
plist and feeding it to plutil(1) - the plist that reports this error
is your culprit.
.chris
--
Chris Parker
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden