本文介绍了提交Apple Watch应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向App Store提交iOS App + Apple手表扩展程序。

I am trying to submit an iOS App + Apple watch extension to the App Store.


  1. 我选择了应用程序作为我的目标,创建了一个存档(产品>存档)。

  2. 我在Window> Organizer中单击了存档,然后单击Export(我正在使用Application loader来提交应用程序)。

  3. 我选择了保存iOS App Store部署

  4. 在下一个窗口(二进制和权利)中,我希望看到应用程序和watchkit扩展。但我只看到应用程序。为什么是这样 ?这是预期的吗?或者我在某处错过了一些设置更改?

  1. I selected the app as my target, created an archive (Product > Archive).
  2. I clicked on the archive in Window > Organizer and clicked Export (I am using the Application loader to submit the app).
  3. I selected "Save for iOS App Store Deployment"
  4. In the next window (in Binary and Entitlements), I expected to see the the app and the watchkit extension. But I see only the app. Why is this ? Is it expected ? Or did I miss some setting change somewhere ?


推荐答案

因为这是一个非常特殊的部分应用程序,您不能像过去那样简单地提交应用程序。

Because this is a very special piece of application, and you can not just simply submit the application like the way you used to do.

差异是配置文件的总数。如果没有 WatchKitExtension ,配置文件就足够了。但是,您必须申请三种不同的应用程序标识符和三种不同的配置文件才能让 Xcode 检测到您实际拥有手机应用,观看应用并观看扩展程序。

The differences are the total number of provisioning profile. Without WatchKitExtension, a provisioning profile is enough. However, you have to apply for three different application identifiers and three different provisioning profile in order to let the Xcode to detect you actually have your phone app, watch app and watch extension.

所以,你需要做的事情非常简单。只需根据您从 WatchApp 目标和 WatchExtension 目标中看到的捆绑包标识符再创建两个应用标识符。然后,再创建两个配置文件。最后一步,将它们导入 Xcode 。你很高兴。

So, what you need to do is really simple. Just create two more app identifiers based on the bundle identifier you saw from the WatchApp target and WatchExtension target. Then, create two more provisioning profile. Last step, import them into your Xcode. And you are good to go.

这篇关于提交Apple Watch应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 11:09