对 Mac App Store 应用程序进行 Beta 测试
我有一个应用程序,打算将其放入 Mac App Store 中。我想添加 iCloud 对偏好同步的支持,因此,我想分发以他们可以访问 iCloud 的方式签名的测试版。
但是,我在 Mac 文档库中找不到任何有关在 App Store 之外分发应用程序、使用分发密钥签名以及能够访问 iCloud 的任何内容。
到目前为止,我尝试分发此类应用程序时遇到了无法在测试人员的计算机上启动的问题,并且控制台中出现消息抱怨该应用程序具有 iCloud 权限。
我所追求的是否可行,或者我应该放弃 iCloud 支持吗?如果可能的话,我需要做什么来制作可分发的、支持 iCloud 的构建?
编辑:需要明确的是,您可以将此问题中的“iCloud 支持”替换为仅适用于 App Store 应用程序的任何其他功能。我提到它是为了证明解决方案不是“只是在未签名的情况下分发它”。 iCloud 是我的具体案例的目标;我问的是一般流程。
I have an app that I'm going to put in the Mac App Store. I'd like to add iCloud support for preference syncing, and for that reason, I'd like to distribute the betas signed in such a way that they can access iCloud.
However, I haven't been able to find anything in the Mac documentation library about distributing an app, signed with a distribution key, outside of the App Store, and being able to access iCloud.
So far, my attempts to distribute such an application have met inability to launch on testers' machines, with messages in the Console complaining about the app having the iCloud entitlement.
Is what I'm after possible, or should I abandon iCloud support? If it is possible, what do I need to do to make a distributable, iCloud-capable build?
Edit: To be clear, you can replace “iCloud support” in this question with any other feature that is only available to App Store apps. I mention it to establish that the solution is not “just distribute it unsigned”. iCloud is the goal in my specific case; I'm asking about the general process.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要收集测试人员 mac 的 UUID,可以通过 Xcode 的 Organizer 获取,也可以通过硬件概述下的 Apple System Profiler 访问它。将其添加到开发人员门户后,您将生成一个配置文件。
为了让他们实际运行该应用程序,他们需要使用 iTunes Connect 测试用户帐户。这是您可以在 iTunes Connect 中创建的两种类型的帐户之一,另一种是具有开发者会员权限(财务/技术/等)的帐户。需要测试用户帐户才能生成收据并实际运行应用程序。尽管您可以通过在开发阶段不实际验证收据来回避测试用户帐户要求。
如果您想做 iCloud 或 Push,您需要 UUID。
如果您想测试不需要 iCloud 或 Push 但需要进行收据验证的 MAS 应用程序,您只需要测试用户帐户。
You would need to gather the UUID for the tester's mac, either available via Xcode's Organizer or you can also access it via Apple System Profiler under the hardware overview. After adding it to the developer portal you'd generate a provisioning profile.
In order for them to actually run the application they would need to make use of an iTunes Connect test user account. This is one of two types of accounts that you can create in iTunes Connect, the other being an account with privileges (financial/technical/etc) for your developer membership. The test user account is needed in order for a receipt to be generated and the application actually run. Though you might be able to sidestep the test user account requirement by not actually validating receipts at that phase of development.
If you want to do iCloud or Push you need the UUID.
If you want to test a MAS app that doesn't need iCloud or Push, but does do receipt validation you need only the test user account.
我的 iCloud Mac 应用程序仍在开发中,所以我还没有尝试。但是否可以使用权利对应用程序进行签名并向 iTC 添加测试用户。在 OS X 配置门户中,您已经可以添加设备,并且需要在那里添加测试人员 Mac,然后重新创建配置配置文件。构建后&将您的“共享...”应用程序存档为安装程序或 .app。用户需要使用您在她/他的 Mac 上的 iTC 中创建的测试用户登录。
My iCloud Mac app is stil in development, so I didn't try yet. But isn't it possible to sign the app with an entitlement and add a test user to iTC. In the OS X provisioning portal you can already add devices, and you need to add the testers Macs there and re-create the provisioning profile afterwards. After build & archive you "Share..." the app as installer or .app. The user needs to login with the/his test user you created in iTC on her/his Mac.