How to compile a .nib file

∥☆過路亽.° 提交于 2019-12-05 01:39:26

问题


If I'm editing a nib file that I decompiled ( https://github.com/akahan/Nib-Decompiler ) from an application, how do I re-compile it into the original uneditable nib format so that I can put it back into the application?


回答1:


Use ibtool. The command line should be something along the lines of:

ibtool --compile output.nib input.nib

(Yes, output before input; the output name is the argument to the --compile flag, while the input name is ibtool's direct object argument.)

You may need other options, depending on your needs; see the manpage for details on all of them.



来源:https://stackoverflow.com/questions/8628397/how-to-compile-a-nib-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!