如何与他人共享 xCode .app 产品 [英] How to share an xCode .app product with others

查看:39
本文介绍了如何与他人共享 xCode .app 产品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 xCode 中构建了一个非常简单的应用程序,并希望与其他不运行 xCode 的计算机共享它.这是一个简单的打印到控制台应用程序.我如何在不通过 iTunesconnect 的情况下与他们分享它(似乎是一种浪费).

I built a pretty simple application in xCode and want to share it with someone else's computer which does not run xCode. It's a simple print to console app. How do I share it with them without going through iTunesconnect (seems like a waste).

有没有办法向他们发送可以安装和运行应用程序的包?向他们发送应用程序本身?从github下载?

Is there a way to send them a package they can install and run the app? Send them the app itself? Download it from github?

我对分享它的方式很灵活,但不想将 xCode 放在她的作品中.

I'm flexible on ways to share it but don't want to put xCode on her comp.

我已经构建了它用于存档并签署了它(我认为).

I've built it for archiving and signed it (I think).

推荐答案

转到 Organizer->Archives.您可以导出开发人员 ID 签名"以保存 .pkg.这将需要您拥有一个证书(私钥)作为Developer-ID Application"和Developer-ID Installer".转到 developer.apple.com 以获取该证书.这样,应用就可以安装在任何允许从 App Store 和 Identified Developers 安装应用的 Mac 上.

Go to Organizer->Archives. You can "Export Developer ID-signed" to save a .pkg. That will need you to have a certificate (private key) as "Developer-ID Application" and "Developer-ID Installer". Go to developer.apple.com to get that certificates. That way, app can be installed on any mac that permits installation of apps from App Store and Identified Developers.

如果您不签署应用程序,则可以导出为应用程序或安装程序.但用户必须在设置"->安全"中启用任何应用的安装.

If you don't sign the app, you can export as Application or Installer. But users will have to enable the installation of any app in Settings->Security.

这篇关于如何与他人共享 xCode .app 产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆