On Feb 7, 2009, at 6:40 PM, Stephen Bannasch wrote:

I'm having a problem with Interface Builder seemingly corrupting an xib file just by opening it and closing it.

  ./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

Stephen,
The xib file might have been invalid before you opened and saved it. If two different people committed changes to the xib, your scm system may have merged the changes and created an invalid file, that appeared to open without problem.

The xib format is diffable, but not mergable.

Can you verify that this did not happen, and no two contributors added to the file at the same time?

-Joey
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to