为什么 IB 在打开 xib 文件时更改对象 ID?
我在不同 Mac 上的不同项目中的一些 xib 文件也遇到同样的问题。 IB 正在更改我的 xib 文件中某些视图的对象 ID。我只需要双击 Xcode 中的 xib 文件即可在 IB 中打开它,然后尝试再次关闭 xib 文件而不更改任何内容,IB 将 xib 文件标记为脏,以便我必须保存它再次。
这让我发疯,因为它会破坏我所有的本地化,因为它们依赖于对象 ID (ibtool)。
有什么想法或经验吗?
谢谢
I have the same problem with some xib files in different projects on different macs. IB is changing the Object IDs of some views in my xib file. I need only to double click the xib file from Xcode to open it in IB and then try to close the xib file again without changing anything and IB marks the xib file as dirty so that I have to save it again.
This drives me crazy because it will break all my localizations since they are depending on the object IDs (ibtool).
Any ideas or experiences?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是旧版本 IB 中的一个错误。他们在 IIRC 3.1 中修复了这个问题。
This was a bug in old versions of IB. They fixed it in, IIRC, 3.1.