WatchKit 上传 [英] WatchKit Upload

查看:27
本文介绍了WatchKit 上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 iTunesConnect 提交我的 WatchKit 应用程序.我单击存档",然后进行验证,然后显示以下消息.我为应用程序、扩展程序和 WatchKit 应用程序以及分发配置文件创建了一个应用程序 ID.我哪里出错了?

I am trying to submit my WatchKit app t iTunesConnect. I click "Archive" and then validate and I am shown the message below. I have created an App Id for the app, extension and WatchKit App as well as distribution profiles. Where am I going wrong?

谢谢

推荐答案

要正确签署手表应用,您需要三个不同的 App ID,每个 App ID 需要一个配置文件.

To properly sign a watch app, you need three different App IDs and each App ID needs a provision profile.

  1. 前往开发者会员中心

添加/编辑三个应用 ID:

Add/Edit the three App IDs:

  • 对于您的主应用程序包,您可能需要添加所需的权利,例如 App GroupsKeychain Access Group.
  • 一个用于您的 watchkit 扩展包,您可能需要添加您需要的权利.
  • 一个用于您的 watchkit 应用程序包.无需任何权利.

删除三个 App ID 的分发配置文件(如果它们已经存在).

Delete the distribution provision profiles for the three App IDs, if they already exists.

为三个应用 ID 添加三个新的分发供应配置文件.

Add three new distribution provision profiles for the three App IDs.

现在返回 Xcode,打开 Preference 并转到 Accounts.

Now go back to Xcode, open Preference and go to Accounts.

选择您的 Apple ID,点击右下角的View Details.

Choose your Apple ID, click View Details on the bottom right.

点击左下角的refresh按钮,等待配置文件列表改变.

Click the refresh button on the bottom left, wait for the list of provision profiles to change.

在所有目标的Build Settings中,如下配置Code Signing部分.

In Build Settings for all your targets, configure the Code Signing part as below.

  1. 再次尝试存档.

  1. Try Archive again.

当您提交您的应用程序时,XCode 会要求您确认它用于签署您的每个捆绑包的配置文件.您需要确保配置文件名称与您在 Developer Member Center 中配置的名称相匹配.

When you submit your app, XCode will ask you to confirm the provision profile it uses to sign each of your bundles. You need to be sure that the provision profile names match those you configured in Developer Member Center.

这篇关于WatchKit 上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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