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 (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