WatchKit上传 [英] WatchKit Upload

查看:77
本文介绍了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?

谢谢

推荐答案

要正确签署监视应用程序,您需要三个不同的应用程序ID,每个应用程序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应用程序捆绑包.无需权利.
  • One for your main App bundle, you may need to add the entitlements you need, like App Groups, Keychain Access Group.
  • One for your watchkit extension bundle, you may need to add the entitlements you need.
  • One for your watchkit app bundle. No entitlements needed.

删除三个应用程序ID的分发规定配置文件(如果它们已经存在的话).

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

为三个App 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天全站免登陆