管理 iPhone 应用程序配置文件
我刚刚创建了一个 iPhone 应用程序,并让朋友们尝试一下,但似乎有很多东西需要“管理”才能实现高效的开发/测试周期。还有很多东西只在我的机器上(钥匙串和我用来创建应用程序/配置文件的测试证书),团队中的其他开发人员无法使用。
- 人们如何管理不同类型的 iPhone 证书和配置文件?
- 关于如何以团队中的任何人都可以做到的方式有效构建/测试/配置应用程序构建,有什么建议的最佳实践吗?
- 如果我想重新构建我的 Mac 或使用另一台 Mac 进行开发/构建,到底需要备份什么?
- 实际部署到应用程序商店需要其中哪些工件?我是否需要重新创建证书、配置文件等,还是只是重复使用我为开发而创建的证书、配置文件等?
I just created an iPhone app and am having friends try it out, but it seems like there's a lot of stuff that needs 'management' in order to have efficient development/test cycles. There are also a bunch of things which are only on my machine (the Keychain and my test cert that I use to create the app/provisioning profiles) which other developers on the team cannot use.
- How are folks managing the different kinds of iPhone certs and provisioning profiles?
- Any suggested best practices on how to efficiently build/test/provision app builds in ways that anyone from the team can do it?
- What exactly needs to be backed up in case I want to re-build my mac or use another mac to do developments/builds?
- Which of these artifacts are needed for actual deployment to the app store? Do I need to re-create certs, profiles etc or do I just re-use the ones I've created for development?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以导出包含所有证书和配置文件的单个文件,这是管理您自己的位的最佳方式。
对于应用程序商店构建,您需要一个个人证书、一个应用程序(如果您不使用推送或商店,则可以是通用的)以及应用程序商店的配置文件 - 只有后者特定于您的应用程序应用商店构建。
观点:苹果的供应管理完全是一团糟。
You can export a single file containing all of your certificates and provisioning profiles, which is the best way of managing your own bits.
For an app store build, you need a personal certificate, an app I'd (which can be generic if you aren't using push or the store), and a provisioning profile for the app store - only the latter is specific to your app store build.
Opinion: Apple's provisioning management is utter balls.
我与多个客户合作,每个客户都有自己的证书和应用程序商店帐户。我创建了一个单独的钥匙串,其中包含每个钥匙串的所有证书和密钥。您可以根据需要传递或备份这些钥匙串。
多年来,我每次切换项目时都必须设置默认钥匙串,但这最终得到了解决。
至于配置文件本身,没有什么可做的。你总是可以去下载一个新的,但现在它们很快就会过期。
@paul意见:完全同意。
I work with several clients, each with there own certificates and app store accounts. I create a separate keychain with all the certificates and keys for each. You can pass these keychains around or back them up as needed.
For years, I had to set the default keychain each time I switched projects, but that is finally fixed.
As for the provisioning profiles themselves, there is not much to do. You can always go download a fresh one and these days they expire pretty quickly anyway.
@paull opinion: totally agree.