在 Xcode 中为 Mac OS X 创建安装程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10137613/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 23:57:53  来源:igfitidea点击:

Create installer for Mac OS X in Xcode

objective-cxcodemacosxcode4dmg

提问by Navin

I have created a small application in Xcode. How can i make that application as an installer (.DMG). I am new to this Mac OS x and Xcode environment.

我在 Xcode 中创建了一个小应用程序。我怎样才能将该应用程序作为安装程序 (.DMG)。我是这个 Mac OS x 和 Xcode 环境的新手。

Do i have to use a third party software or are there any methods in Xcode4 itself to create a .dmg.

我是否必须使用第三方软件,或者 Xcode4 本身是否有任何方法来创建 .dmg。

采纳答案by Denis Murphy

You might want to consider using PackageMaker which create.pkg package of your Application, this is useful for user deploying your application across multiple-machines via Apple Remote Desktop

您可能需要考虑使用 PackageMaker,它为您的应用程序创建了 .pkg 包,这对于用户通过 Apple 远程桌面跨多台机器部署您的应用程序很有用

Apple PackageMaker User Guide

Apple PackageMaker 用户指南

Apple Remote Desktop - Software Distribution

Apple 远程桌面 - 软件分发