IB v7.03 appears to corrupt an xib last generated by IB v7.02
IB v7.03 appears to corrupt an xib last generated by IB v7.02
- Subject: IB v7.03 appears to corrupt an xib last generated by IB v7.02
- From: Stephen Bannasch <email@hidden>
- Date: Sat, 7 Feb 2009 21:40:56 -0500
I'm having a problem with Interface Builder seemingly corrupting an
xib file just by opening it and closing it.
The project is GitX:
http://github.com/pieter/gitx
The project builds fine in XCode but if I open:
./English.lproj/Preferences.xib
in IB and just save it (making no changes) the xib file appears
corrupted -- this invalid string is added to the
IBDocument.PluginDependencies:
<string>{{211, 334}, {400, 74}}</string>
If I open the xib file again I get a dialog with this error:
Unable to resolve plug-in dependency for "Preferences.xib".
Locate the {{211, 334}, {400, 74}} Interface Builder plug-in
to continue opening this document. Press "continue" to continue
opening without resolving the dependency.
You can see the original Preferences.xib file here:
http://github.com/pieter/gitx/blob/cb40cf6111f41551c4e3e846289ac3abfa1cc9a5/English.lproj/Preferences.xib
It was generated using IB 7.02.
And this is a diff showing what happens when I open it in IB 7.03 and
then immediately save it:
http://gist.github.com/60080
Particularly note lines 29 and 82
I haven't worked much with Cocoa/XCode so I'm not sure where to look
-- it doesn't seem the minor change in IB version should cause that
kind of problem ... so perhaps there's someplace else to look.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden