简体   繁体   English

在Linux上构建OSX .pkg文件

[英]Build OSX .pkg file on linux

May I ask what's the practical option to build .pkg file on ubuntu? 请问在ubuntu上建立.pkg文件的实际选择是什么? I was trying xar, but the resulted .pkg file could not be installed on mac, got 'com.apple.installer.pagecontroller error -1' And I was trying to use munkipkg, but it depends on pkgbuild on OS X. Is that possible to have pkgbuild on linux? 我正在尝试XAR,但无法在Mac上安装生成的.pkg文件,出现了“ com.apple.installer.pagecontroller错误-1”,并且我正在尝试使用munkipkg,但这取决于OS X上的pkgbuild 。可能在Linux上有pkgbuild? or could anyone suggest a best way to do this ? 或者有人可以建议这样做的最佳方法吗?

Thanks! 谢谢!

It's a bit difficult to do. 这有点困难。 http://hogliux.github.io/bomutils/tutorial.html can do it though. 虽然http://hogliux.github.io/bomutils/tutorial.html可以做到。

You essentially need to use xar , but you also need a BOM (bill of materials), which the tool will create for you. 本质上,您需要使用xar ,但是您还需要该工具将为您创建的BOM(物料清单)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM