May I ask what's the practical option to build .pkg file on ubuntu? 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? or could anyone suggest a best way to do this ?
Thanks!
It's a bit difficult to do. Here's a tutorial on how to make it work.
You essentially need to use xar
, but you also need a BOM (bill of materials), which the tool will create for you.