ios Xcode 5 - 尝试验证存档时“未找到应用程序记录”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22278823/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 23:40:20  来源:igfitidea点击:

Xcode 5 - "No application records were found" when trying to Validate an Archive

iosiphonexcode5app-store-connect

提问by Ed Landau

Hi Folks: Just a person (not a company) trying to submit an app, developed with Xcode 5 to the App Store.

大家好:只是一个人(不是公司)试图将使用 Xcode 5 开发的应用程序提交到 App Store。

Developer.apple.com > IOS Dev Center > iTunes Connect > Manager you Apps > Add New Apps > Click here to register new bundle > Click on AppIDs to see what I have previously registered.

Developer.apple.com > IOS 开发人员中心 > iTunes Connect > 管理您的应用程序 > 添加新应用程序 > 单击此处注册新捆绑软件 > 单击 AppID 以查看我之前注册的内容。

If I had 10 reputations on Stackoverflow, I'd post a screenshot. (I will if I can).
Summary is that iTunes Connect says:

如果我在 Stackoverflow 上有 10 个声望,我会发布一个屏幕截图。(如果可以的话,我会的)。
总结是 iTunes Connect 说:

  • Prefix is C58H638D3X
  • ID is EdAndJ.tiltr9999
  • Identifier = C58H638D3X.EdAndJ.tiltr9999
  • 前缀是 C58H638D3X
  • ID 是 EdAndJ.tiltr9999
  • 标识符 = C58H638D3X.EdAndJ.tiltr9999

So I go back to Xcode5 and I change the Bundle ID to: I tried both:

所以我回到 Xcode5 并将 Bundle ID 更改为:我尝试了两个:

  • C58H638D3X.EdAndJ.tiltr9999, and
  • EdAndJ.tiltr9999
  • C58H638D3X.EdAndJ.tiltr9999,和
  • EdAndJ.tiltr9999

I then manually deleted the build directory and re-built and re-archived. No errors or warnings. Archive shows the correct"Identifier". But when I Validate, I get a "No Application Records were found".

然后我手动删除了构建目录并重新构建并重新存档。没有错误或警告。存档显示正确的“标识符”。但是当我验证时,我得到一个“没有找到应用程序记录”。

I have read in one articles that this may be because iTunes Connect is not in a state of "waiting for my application"... but I do not know how to put it in that state (if that's my issue in the first place).

我在一篇文章中读到,这可能是因为 iTunes Connect 未处于“等待我的应用程序”状态……但我不知道如何将其置于该状态(如果这首先是我的问题) .

This is a duplicate of a question I posed earlier today but now that I know more, I re-posed it with more information. Thanks to all those who answer... you make the world a better place :).

这是我今天早些时候提出的一个问题的重复,但现在我知道了更多,我用更多的信息重新提出了它。感谢所有回答的人......你让世界变得更美好:)。

-Ed

-埃德

回答by Bamsworld

As you already mentioned and as per the documentation - App Distribution Guide

正如您已经提到的,并根据文档 -应用分发指南

Important: You can't validate your app unless the app record in iTunes Connect is in the “Waiting for Upload” or later state

重要提示:除非 iTunes Connect 中的应用记录处于“等待上传”或更高状态,否则您无法验证您的应用

After you add a new app in iTunes connect there will be an amber light along with its status. It will most likely read "Prepare For Upload". To get it to the "Waiting For Upload"state click view details for the app and in the top right there should be a blue button that says "Ready to Upload Binary". Click this and follow the given directions.

在 iTunes Connect 中添加新应用程序后,其状态将呈琥珀色亮起。它很可能会阅读“准备上传”。要使其进入“等待上传”状态,请单击应用程序的查看详细信息,在右上角应该有一个蓝色按钮,上面写着“准备上传二进制文件”。单击此按钮并按照给定的说明进行操作。

回答by Josh Cleetus

Go to itunes connect. Click on your app. Click More. Click About this App. Select your bundle identifier. Now go back and validate the app again. It should be fine.

转到iTunes连接。单击您的应用程序。单击更多。单击关于此应用程序。选择您的捆绑标识符。现在返回并再次验证应用程序。应该没问题。

回答by Paresh Kacha

As per new structure of apple deployment , go to itunesconnect > My apps > Select app > select Features in menu bar > Go to encryption at left side menu.

根据苹果部署的新结构,转到 itunesconnect > 我的应用程序 > 选择应用程序 > 在菜单栏中选择功能 > 转到左侧菜单中的加密。

Choose the appropriate option , here you the site will instruct you to put one option in info.plist as per your selection.

选择适当的选项,在这里您的站点将指示您根据您的选择在 info.plist 中放置一个选项。

Just follow that steps , and you are good to go.

只需按照这些步骤操作即可。

回答by Oliver

Just had the same problem. When in iTunes Connect, select your app, click edit information and on the bottom of the page it has a button (Ready to upload binary) click that, follow through the process and then XCode will find the pending application

刚刚有同样的问题。在 iTunes Connect 中,选择您的应用程序,单击编辑信息,然后在页面底部有一个按钮(准备上传二进制文件)单击该按钮,按照流程进行操作,然后 XCode 将找到待处理的应用程序

回答by SURESH SANKE

I faced same issue while I was updating my old application in iTunes Connect. I resolved that by putting some work by gone through some posts on web. We have one application in live store with one bundle id (com.sample.AppOne). We need to update the app to next version.

我在 iTunes Connect 中更新旧应用程序时遇到了同样的问题。我通过浏览网络上的一些帖子来解决这个问题。我们在 live store 中有一个应用程序,有一个 bundle id (com.sample.AppOne)。我们需要将应用程序更新到下一个版本。

Then I gave bundle id as (com.sample.AppNine) which does not match with the bundle in iTunes Connect earlier. So while updating the app in iTunes Connect we should give same bundle id which we gave for old version.This solved my issue.

然后我将捆绑 ID 指定为 (com.sample.AppNine),这与之前 iTunes Connect 中的捆绑不匹配。因此,在 iTunes Connect 中更新应用程序时,我们应该提供与旧版本相同的捆绑 ID。这解决了我的问题。