软件包名称未显示在我的 pkg 的安装对话框中

Package name is not getting displayed on the installation dialog of my pkg

我正在从其他 .pkg 文件创建 .pkg。当我尝试安装生成的 .pkg 时,我只能在对话框中看到 "install" 包名称未显示在安装对话框中。安装时如何让包名出现在对话框中? 提前致谢installation dialog box image

作为 productbuild --distribution path_to_distribution.dist 传递给命令 productbuild 的 Distribution.dist 不包含 .pkg 的标题。 如果包的标题在 title 标签下的 distribution.dist 中可用,则该名称将在包安装过程中显示在对话框中