> For the complete documentation index, see [llms.txt](https://tonyliu.gitbook.io/macos-packaging/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tonyliu.gitbook.io/macos-packaging/di-liu-zhang-ding-jie-niu.md).

# 第六章：庖丁解牛

上一节介绍了使用Packages 应用生成产品（分发）包，尤其是最后一小节介绍使用脚本在产品包中安装已有组件包的方法。其实，使用macOS 内置的Shell 命令也可以完成相应的工作。本章将结合productbuild、productsign和installer命令介绍如何完成制作产品包的任务。&#x20;

如果读者现在还不太适应命令行，可以忽略本章，多练习本书前面三章介绍的方法，待熟悉并掌握命令行的操作之后再参考本章只是。
