xcode 未能将应用程序提交到 iTunes Store
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19090640/
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
Failed to submit app to iTunes Store
提问by Son Nguyen
I am having some problems when trying to submit my iPhone app to store using Xcode 5 that my app is always failed validation with below errors:
我在尝试使用 Xcode 5 提交我的 iPhone 应用程序以存储时遇到一些问题,我的应用程序总是验证失败并出现以下错误:
Apple's web service operation was not successful
Unable to authenticate the package: [My app id, ex: 123456789].itmsp
ERROR ITEMS-9000: "The bundle [Bundle ID, ex: com.myapp.mobile] at bundle path 'Payload/[My App Name].app' is not signed using an Apple submission certificate." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
苹果的web服务操作不成功
无法验证包:[我的应用程序 ID,例如:123456789].itmsp
ERROR ITEMS-9000:“捆绑包路径‘Payload/[My App Name].app’中的捆绑包[捆绑包ID,例如:com.myapp.mobile]未使用Apple提交证书签名。” 在 SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
I am quite sure about settings (bundle id, certificate, profile, entitlement) because this is not first time I submit app to store, jut don't know why these issues come up, I have tried to search and found some related article but they don't help.
我对设置(捆绑 ID、证书、配置文件、权利)非常确定,因为这不是我第一次将应用程序提交到商店,只是不知道为什么会出现这些问题,我尝试搜索并找到了一些相关文章,但是他们没有帮助。
I have this issue for 1 week.
我有这个问题 1 周。
回答by nithinreddy
I just selected Standard Architectures in both Project and Target, and it worked for me.
我刚刚在 Project 和 Target 中选择了标准架构,它对我有用。
回答by Veera
I got the same error today with xCode 7. I resubmitted with no changes and it went through. Probably Apple bug. I am letting you know that sometimes it is not an issue with our project/target settings.
我今天在使用 xCode 7 时遇到了同样的错误。我重新提交了,没有任何更改,它通过了。可能是苹果的bug。我要告诉您,有时这不是我们的项目/目标设置的问题。
回答by Joe Huang
I had the exact the same error, after hours of trying, adjusting all the parameters like the bundle ID or display name, etc. None of them worked.
我遇到了完全相同的错误,经过数小时的尝试,调整了所有参数,如包 ID 或显示名称等。它们都不起作用。
Finally I got it work. Here is what I did.
最后我得到了它的工作。这是我所做的。
I started all over by deleting all the records in keychain, certificates and provision profiles. And just added one certificate and profile for app distribution. There was only one record to make no confusion. And then boom, it uploaded successfully.
我从头开始删除钥匙串、证书和配置文件中的所有记录。并且刚刚添加了一个用于应用分发的证书和配置文件。只有一个记录不会引起混淆。然后boom,就上传成功了。
I guess my mistake was to submit multiple times of certificates or provision profiles earlier (although I deleted multiple entries but I did see something strange) because I thought the creation process was stuck so I refreshed the browser. Being patient in each steps will eventually saves more time! :) Good luck!
我猜我的错误是之前多次提交证书或配置文件(虽然我删除了多个条目但我确实看到了一些奇怪的东西),因为我认为创建过程卡住了所以我刷新了浏览器。在每个步骤中耐心等待最终会节省更多时间!:) 祝你好运!
回答by Ralph D.
I don't know the cause, but I had the same exact issue crop up this week and just got things to work. I had checked the build, distribution certificate, provisioning profile. I went through all of the troubleshooting steps in Technical Note TN2250-- no luck! However, I just got it to upload successfully. I happened to have an old Mac Mini that had Application Loader 2.5.1 on it. I created a zip file from the .app within the Payload folder of the .ipa, put this on a USB drive, and watched as it finally uploaded after trying about 50 times with both Xcode organizer and Application Loader v2.9.
我不知道原因,但本周我遇到了完全相同的问题,并且刚刚开始工作。我已经检查了构建、分发证书、配置文件。我完成了技术说明 TN2250 中的所有故障排除步骤——不走运!但是,我只是让它成功上传。我碰巧有一台装有 Application Loader 2.5.1 的旧 Mac Mini。我从 .ipa 的 Payload 文件夹中的 .app 创建了一个 zip 文件,将其放在 USB 驱动器上,并在使用 Xcode 管理器和 Application Loader v2.9 尝试了大约 50 次后观看它最终上传。
Other people have reccomended reverting to a previous Application Loader version. Perhaps the web service endpoint uses a different (and properly working) certificate validation method for older AL versions.
其他人建议恢复到以前的 Application Loader 版本。也许 Web 服务端点对较旧的 AL 版本使用不同(且正常工作)的证书验证方法。
回答by sdoowhsoj
I didn't see this listed on here, but I received this issue and realized that I already had a build for this specific Version # waiting for review on iTunes Connect. I rejected the build in ITC and then tried uploading the build again and it uploaded correctly after that. Just in case this could possibly help anyone else out there with this issue!
我没有看到这里列出这个,但我收到了这个问题,并意识到我已经为这个特定版本 # 构建了一个等待 iTunes Connect 的版本。我拒绝了 ITC 中的构建,然后尝试再次上传构建,之后它正确上传。以防万一这可能会帮助其他人解决这个问题!
回答by BobDickinson
As far as I can tell, this specific error is intermittent and not caused by anything in the app package. I think many of the answers here are people that saw this error, changed something, and saw the error go away, and assumed that their change made it go away.
据我所知,这个特定错误是间歇性的,不是由应用程序包中的任何内容引起的。我认为这里的许多答案都是看到这个错误的人,改变了一些东西,看到错误消失了,并假设他们的改变让它消失了。
I would suggest, if you get this error, just try again (worked for me). If it fails in this exact way a second time, and you have some theory about what will fix it, do that and try again. If that works, undo your fix and see if the failure comes back. In this way you will have proven that there was an identified root cause and a fix.
我建议,如果您遇到此错误,请再试一次(对我有用)。如果它第二次以这种方式失败,并且您有一些关于如何修复它的理论,请执行此操作并重试。如果可行,请撤消您的修复并查看故障是否再次出现。通过这种方式,您将证明存在已确定的根本原因和修复方法。
回答by Gaspare Novara
I too have had the same problem and after many hours I managed to solve. I finally fixed the problem. You needed to download the "Apple Root Certificate Authority" (http://www.apple.com/certificateauthority/) and put it in your login keychain & system, I also put your iPhone disitrbution certified in your system and set all keychian trust values ??for all certificates to "system default". Finally went through!
我也遇到了同样的问题,几个小时后我设法解决了。我终于解决了这个问题。您需要下载“Apple Root Certificate Authority”(http://www.apple.com/certificateauthority/)并将其放入您的登录钥匙串和系统中,我还将您的 iPhone disitrbution 认证放入您的系统中并设置所有钥匙串信任所有证书的值都为“系统默认值”。终于通过了!
回答by Antoine
For me the problem was in selecting the wrong iOS distribution code signing identity, where I was using a different team as the provisioning profile.
对我来说,问题在于选择了错误的 iOS 分发代码签名标识,我使用不同的团队作为配置文件。
Probably make sure your Code Signing Identity is set to automatic, which will probably fix this issue.
可能确保您的代码签名身份设置为自动,这可能会解决此问题。
回答by kalpeshdeo
In XCode 6.3, You have connect actual device and selected in the XCode.
在 XCode 6.3 中,您已连接实际设备并在 XCode 中选择。