如何使用 Xcode 4.3 或 Application Loader 向 App Store 提交应用程序 [英] How do I submit an app to the App Store using Xcode 4.3 or Application Loader

查看:23
本文介绍了如何使用 Xcode 4.3 或 Application Loader 向 App Store 提交应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的第一个 iOS 应用程序在 iTunes Connect 中处于等待上传"状态,但由于我在 Application Loader 的 Xcode 4.3 中遇到问题,我无法将其提交到 App Store.

I have my first iOS app in "Waiting for upload" status in iTunes Connect but I am unable to submit it to the App Store because of issues I am having in Xcode 4.3 in Application Loader.

在 Xcode 4.3 中,我有 3 个配置文件

In Xcode 4.3 I have 3 provisioning profiles

  • 临时配置文件
  • App Store 配置文件(未找到有效的签名身份)<-- 什么签名身份?我是从 Provisioning Portal 下载的!
  • iOS 团队配置文件

在构建和归档我的应用程序后,我点击分发"并选择 iOS App Store.我输入了我的 iTunes Connect 用户名和密码,但收到以下错误消息 - 没有可供签名的身份.这是什么意思?

After building and archiving my application I click "Distribute" and choose iOS App Store. I enter my iTunes Connect username and password but get the following error message - No Identities Available for signing. What does that mean?

所以我尝试使用应用程序加载器.我在 Xcode 中选择了 Ad Hoc 或 Enterprise Distribution,并将应用程序文件导出到一个文件夹中.我在 Application Loader 中选择了该文件,但收到以下错误应用程序未能通过协同设计验证".Xcode 何时签署应用程序以及使用哪个配置文件?

So I tried using Application Loader. I chose Ad Hoc or Enterprise Distribution in Xcode and exported the application file into a folder. I selected that file in Application Loader but got the following error "Application failed codesign verification". When did Xcode sign the application and with which profile?

看起来我在网上找到的大多数教程和文档都是针对旧版 Xcode 的.我已经更改了一些代码签名和构建设置,但没有成功.

It looks like most of the tutorials and documentation I have found online are for older versions of Xcode. I have changed several of my Code Signing and Build Settings with no luck.

你能帮忙吗?

谢谢

推荐答案

我不确定证书 - 但对于我的应用程序,我有这样的.在配置门户中转到证书/分发并确保您在此处拥有证书并且它是有效的并已下载 - 您还必须拥有私钥!(不要忘记在苹果 WWDR 证书上).然后在 Provisioning/Distribution 中确保您已经为您的应用 ID 创建了一个证书.在 Xcode 中设置它们后它应该可以工作(如下).

I am not sure about the certificates - but for my app I have it like this. In the provisioning portal go to Certificates/Distribution and make sure you have certificate here and it is valid and you downloaded it - you must also have the private keys! (don't forget on the apple WWDR certificate). Then in Provisioning/Distribution make sure you had created a certificate for your app ID. It should work after setting them up in Xcode (below).

但是,我知道一件事.您不必通过应用程序加载程序提交您的应用程序.当您打开 Xcode 时,转到您的项目构建设置并设置您的分发证书.然后你应该存档你的应用程序 - 只需将运行方案更改为 iOS 设备(在 Xcode 的左上角),然后点击产品(在 Mac 状态栏中)和存档.

But, I know one thing. You don't have to submit your app through the Application Loader. When you open Xcode, go to your project Build settings and setup your distribution certificates. Then you should Archive your app - simply change the run scheme to iOS device (in the upper left part of Xcode), then tap Product (in the Mac status bar) and Archive.

存档完成后,打开管理器并找到存档"选项卡.然后选择您的存档并单击验证/提交应用程序.应该是这样:)

Once the archiving has been done, open Organizer and find Archives tab. Then select your archive and click on Verify/Submit the app. That should be it :)

注意:摘自 iOS 配置门户指南,确认您正在选择从证书颁发机构请求证书...",而不是选择从带有...的证书颁发机构请求证书",意思是 ma​​ke确保在创建证书时未在 Key Chain 中选择私钥.

NB: Taken from the iOS provisioning portal guide, "Confirm that you are selecting "Request a Certificate From a Certificate Authority..." and not selecting "Request a Certificate From a Certificate Authority with …" meaning make sure that a private key is NOT selected in Key Chain when creating the certificate.

这篇关于如何使用 Xcode 4.3 或 Application Loader 向 App Store 提交应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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