简体   繁体   English

iOS和XCode5 App发布失败 - 错误ITMS-9000:“您尝试上传的二进制文件无效”

[英]iOS & XCode5 App publishing fails - Error ITMS-9000: “The binary you tried to upload was invalid”

I was already looking through some other threads here with the ITMS-Error 9000 , but they didn't help me to get my App passing the submission to the App Store. 我已经在使用ITMS-Error 9000查看了一些其他线程,但是他们没有帮助我让我的应用程序将提交内容传递到App Store。

  • I have NO errors or warnings inside XCode. 我在XCode中没有任何错误或警告。
  • The App is perfectly working on iOS Devices & Simulators. 该应用程序完全适用于iOS设备和模拟器。

EDIT: What I have already tried: 编辑:我已经尝试过:

  1. Changed Deployment Target from iOS 7.1 to 7.0 将部署目标从iOS 7.1更改为7.0
  2. Checked the Bundle ID in iTunesConnect and inside Xcode 检查iTunesConnect和Xcode内的Bundle ID
  3. Checked for any errors and warnings --- removed / fixed them 检查是否有任何错误和警告---删除/修复它们

在此输入图像描述

Do you have any additional ideas what it could be? 你还有什么额外的想法吗? Without any errors or further information it is hard to find out what the reason is. 没有任何错误或进一步的信息,很难找出原因。

UPDATE2:: If I try "just" to "Validate" instead of "Distribute" in the organizer after Archiviing it i get the following Error UPDATE2 ::如果我在Archiviing之后在组织者中尝试“只”到“验证”而不是“分发”我得到以下错误 在此输入图像描述

这是苹果服务器的问题我尝试验证应用程序它说“由于一般错误,此时无法处理应用程序”在SO上快速搜索它表示它与我们的代码或项目无关,但在苹果运行的某些进程服务器

Assuming that your binary icons does not meet as per apple's human interface guidelines. 假设您的二进制图标不符合苹果的人机界面指南。

应用图标格式

It most probably seems to be the issue with the profile you are signing your app with. 它很可能是您正在为您的应用程序签名的配置文件的问题。 You got to make sure that your are signing the app rightly with proper distribution profile. 您必须确保使用正确的分发配置文件正确签署应用程序。 Also check out for the bundle identifier and make sure that it is same as the one you have given in itunes connect. 还要检查捆绑包标识符,并确保它与您在itunes connect中提供的标识符相同。 Check this link ! 检查此链接

You should be creating the binary with the simulator or some device connected. 您应该使用模拟器或连接的某个设备创建二进制文件。

Try it: 试试吧:

  1. Unconnect iOS device from your Mac, 从Mac上取消iOS设备的连接,
  2. Dont select any simulator, just leave it as it is, iOS device option 不要选择任何模拟器,只要保持原样,iOS设备选项
  3. Archive it 归档它
  4. Publish it 发布它

Make sure you're using a provisioning profile for the App Store (not for Ad Hoc distribution) 确保您正在使用App Store的配置文件(不适用于Ad Hoc分发)

Then select this profile when building your app. 然后在构建应用时选择此配置文件。

I would guess this all has something to do with Apple making system changes to prepare for iOS 8 and in doing so somethings got broken. 我猜这一切都与苹果制作系统更改以准备iOS 8有关,并且这样做有些事情被打破了。

The issues look to have just been resolved by Apple. 这些问题看起来刚刚被Apple解决了。 I just successfully submitted an app that was previous showing the same problem you had. 我刚刚成功提交了一个之前显示同样问题的应用。 If you look at your Provisioning Profiles, you should notice that Apple has removed your app's previous Distribution Profiles. 如果您查看配置文件,您应该注意到Apple已删除了您应用的以前的分发配置文件。

To get your submission working again, all you have to do is recreate your App Store and Ad Hoc provisioning profile, but make sure to use a new name and you should be good to go. 要让您的提交再次工作,您所要做的就是重新创建App Store和Ad Hoc配置文件,但请确保使用新名称 ,您应该很高兴。 You were not alone on this one. 你并不孤单。 A bunch of people experienced the same problem and there were a lot of posts about it on the official Apple Dev forums. 一群人遇到了同样的问题,在官方的Apple Dev论坛上有很多关于它的帖子。

Please check the Distribution Profile that you are signing your app with at iTunes Connects. 请在iTunes Connects上查看您要为应用程序签名的分发配置文件。 make sure that it is still valid. 确保它仍然有效。 I had same issue couple days back and after a struggle , i found out that somehow my provisioning profile was not valid anymore. 几天前我遇到同样的问题,经过一番努力,我发现我的供应资料不再有效。 Creating a new profile and submitting app with it solved my issue. 创建新的个人资料并使用它提交应用程序解决了我的问题。

Apple have deleted corrupted provisionning, you just have to regenerate it and make submission works again ! Apple已删除损坏的配置,您只需重新生成它并使提交再次有效!

  • Connect to your iOS Developer 连接到您的iOS开发人员
  • Certificates, Identifiers & Profiles 证书,标识符和配置文件
  • Provisioning Profiles / Distribution 供应配置文件/分发
  • Here you can see some certificates missing. 在这里你可以看到一些证书丢失。 You have to re-create (Distribution / AdHoc). 您必须重新创建(分发/ AdHoc)。 Note, you have to change certificates name ! 注意,你必须更改证书名称!

In Xcode, refresh your certificates, set the right one in Build Settings, and submit ... 在Xcode中,刷新证书,在Build Settings中设置正确的证书,然后提交 ......

I called today the Apple Developer Support and i get one very very simple answear to this issue. 我今天打电话给Apple开发人员支持,我得到了一个非常简单的问题。

You have to create all your certificates, provisioning profiles etc with Apples SAFARI browser. 您必须使用Apples SAFARI浏览器创建所有证书,配置文件等。

It is not working "always" proper with Mozilla Firefox or other Browsers. 它与Mozilla Firefox或其他浏览器无法“始终”正常工作。 So if you get such an error, try to recreate it with Safari! 因此,如果您遇到这样的错误,请尝试使用Safari重新创建它! It worked like a charm! 它就像一个魅力!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM