如何编译.nib文件 [英] How to compile a .nib file
问题描述
如果我正在编辑我反编译的nib文件( https://github.com/akahan/ Nib-Decompiler )从应用程序,我如何重新编译成原始的不可编辑的nib格式,使我可以把它放回到应用程序?
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?
推荐答案
使用 ibtool 。命令行应该是以下行:
Use ibtool. The command line should be something along the lines of:
ibtool --compile output.nib input.nib
(是,输入前输出;输出名称是 code> flag,而输入名称为
ibtool
的直接对象参数。)
(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.
这篇关于如何编译.nib文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!