ios iTunes Connect:上传新二进制文件后无法保存应用信息
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25697463/
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
iTunes Connect: Can't save app information after uploading new binary
提问by rayg
I'm trying to upload an iOS app for review using Xcode's Organizer and I've encountered two problems:
我正在尝试使用 Xcode 的 Organizer 上传一个 iOS 应用程序以供审核,但我遇到了两个问题:
Case 1
情况1
Binary uploads but when I press Submit for ReviewiTunes Connect gives the error:
二进制上传,但当我按提交审阅时,iTunes Connect 出现错误:
Your app information could not be saved. Try again. If the problem persists, contact us.
无法保存您的应用信息。再试一次。如果问题仍然存在,请联系我们。
Case 2
案例二
After getting the first error message, I tried uploading a new binary, but got the following error message in Organizer:
收到第一条错误消息后,我尝试上传新的二进制文件,但在 Organizer 中收到以下错误消息:
ERROR ITMS-9000: "Redundant Binary Upload. There already exists a binary upload with build version '1.1' for train '1.1'"
错误 ITMS-9000:“冗余二进制上传。已经存在构建版本为 '1.1' 的二进制上传,用于训练 '1.1'”
I tried uploading other binaries changing the version number but still I can't get my app to go in the review state. I also can't see any way to delete old binaries that were uploaded.
我尝试上传其他二进制文件以更改版本号,但仍然无法让我的应用进入审核状态。我也看不到任何删除上传的旧二进制文件的方法。
Another observation: My app should be around 30MB but when I look at the uploaded binary it is only 1.46MB. I guess there might be something wrong from the binary but I've built it using the same technique several times before and never had any issues.
另一个观察结果:我的应用程序应该在 30MB 左右,但是当我查看上传的二进制文件时,它只有 1.46MB。我想二进制文件可能有问题,但我之前已经使用相同的技术多次构建它并且从未出现任何问题。
Any ideas?
有任何想法吗?
回答by matthewpalmer
For me, I was filling out the form in Safari and getting the error. I logged out, then switched to Chrome and signed in. This fixed the error, and I was able to submit.
对我来说,我在 Safari 中填写表单并收到错误消息。我退出,然后切换到 Chrome 并登录。这修复了错误,我能够提交。
回答by Developer
Sign out and Sign In again should work as it worked for me!
退出并再次登录应该可以正常工作!
回答by Sverrisson
I solved this by increasing the number in Build(Select the Target, then Xcode -> General -> Build, see picture) by adding .1so the build was 3.75
-> 3.75.1
.
But only for the Build, the Version is still 3.75
and also appears like that in iTunesConnect.
我通过添加.1来增加Build 中的数字(选择目标,然后选择 Xcode -> General -> Build,见图片)解决了这个问题,所以构建是-> 。但仅对于 Build,版本在 iTunesConnect 中仍然并且也显示为那样。3.75
3.75.1
3.75
Then the new binary uploaded and I could select it for review. In the picture below you may see the old and the new binary listed in iTunesConnect. Then I finally just had to select the new binary and submit for review.
然后新的二进制文件上传,我可以选择它进行。在下图中,您可能会看到 iTunesConnect 中列出的新旧二进制文件。然后我终于只需要选择新的二进制文件并提交。
回答by Allen
Open web inspector, you will find that Apple said: We've got a server error ... 500
That's the real reason. :)
打开 web 检查器,你会发现 Apple 说:We've got a server error ... 500
这才是真正的原因。:)
Update:
更新:
Inspired by @phantom, I try to use dotjsto run a javascript script to auto click submit button per 15 seconds, but still get the 500 error all the time.
受@phantom 的启发,我尝试使用dotjs运行 javascript 脚本以每 15 秒自动单击一次提交按钮,但仍然始终出现 500 错误。
@Geaka's answer is working for me. Because my product name is Chinese,I change my product name to english(DO NOT include whitespace! It maybe causes another error on building path error.)
@Geaka 的回答对我有用。因为我的产品名称是中文,我将我的产品名称更改为英文(不要包含空格!它可能会导致构建路径错误的另一个错误。)
I debug the apple website and find a js script named submit_for_review_cntrl.js
which controls the whole submit progress. From line 123 to line 129(formatted by {}
button in chrome) that setting the http headers, there is a field named X-Original-Filename
, the value is given by $scope.addCcatFileToJson
method in line 138, the param of this method is given by ajax callback, i guess there's a bug for encoding the product name field of the back-end code.
我调试苹果网站并找到一个名为submit_for_review_cntrl.js
控制整个提交进度的js脚本。从{}
设置http头的第123行到第129行(由chrome中的按钮格式化),有一个名为的字段X-Original-Filename
,值由$scope.addCcatFileToJson
第138行的方法给出,该方法的参数由ajax回调给出,我猜有一个对后端代码的产品名称字段进行编码的错误。
回答by hooby3dfx
WTF Apple!
WTF苹果!
We just solved our version of the problem (generic error message)...
我们刚刚解决了我们的问题版本(通用错误消息)...
After hitting submit for review I was trying to upload a file for the ERN since my app uses encryption. It finally worked when I used a zip file that contains an image of the ERN response and a txt file describing what encryption is being used.
点击提交审核后,我试图为 ERN 上传文件,因为我的应用程序使用加密。当我使用包含 ERN 响应图像的 zip 文件和描述正在使用的加密的 txt 文件时,它终于起作用了。
回答by Sungur
The problem unfortunately still occurs. My solution when this happens is removing the binary, clicking on the save button then adding the binary again. Then save and follow the standart procedure. That solves the problem for me without changing the build version or doing anything extra.
不幸的是,问题仍然存在。发生这种情况时,我的解决方案是删除二进制文件,单击保存按钮,然后再次添加二进制文件。然后保存并遵循标准程序。这为我解决了问题,而无需更改构建版本或做任何额外的事情。
回答by Jon Schlossberg
I solved this by switching over to Chrome instead of using Safari. Presto, worked right away!
我通过切换到 Chrome 而不是使用 Safari 解决了这个问题。Presto,立即生效!
回答by Mil0R3
Finally find the solution:
终于找到解决办法:
Steps:
脚步:
If your app version and build version is 1.0, keep version 1.0 and change build version as 1.1(bigger than last build version), then upload it. If your app name is English, choose this build and submit to review, it would be change to review.
If your app name is not English, Chinese for example, you need to name it in Bundle display name, Do not name it in TARGETS directly.
如果您的应用版本和构建版本为 1.0,请保留 1.0 版本并将构建版本更改为 1.1(比上一个构建版本大),然后上传它。如果您的应用名称是英文,选择此版本并提交审核,它将更改为审核。
如果您的应用名称不是英文,例如中文,则需要在Bundle display name 中命名, 不要直接在 TARGETS 中命名。
Maybe is also works for Japanese and Korean.
也许也适用于日语和韩语。
回答by Xiangyu.Wu
I have met this problem this morning and have solved it. I change my product name from Chinese to English, and write the Chinese name in the Bundle display name, which solve this problem. You can change the Bundle display name in the info.plist, and change the product name in the General tab in the project.
我今天早上遇到了这个问题并且已经解决了。我把我的产品名称从中文改为英文,并在Bundle显示名称中写上中文名称,解决了这个问题。您可以在 info.plist 中更改 Bundle 显示名称,并在项目的 General 选项卡中更改产品名称。
回答by dr dubious
that's an erratic error. Probably some apple infrastructure problems You may have done something and then it worked - switching your browser, increasing build numbers and the like. But you could've hit several times submit as well. At least, after a while, my submission has been successful.
这是一个不稳定的错误。可能是一些苹果基础设施问题您可能已经做了一些事情然后它起作用了 - 切换浏览器,增加版本号等等。但是你也可以多次提交。至少,过了一段时间,我的提交是成功的。