ios 无论我将构建版本或应用程序版本更改为什么,都会出现 ITMS-4238“冗余二进制上传”错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25981890/
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-31 02:42:53  来源:igfitidea点击:

Getting ITMS-4238 "Redundant Binary Upload" error no mater what I change the build version or app version to

iosapp-store-connectxcode6

提问by crt79

I rejected a binary i had which was 1.0 (1.0). The status went into Rejected by developer.

我拒绝了我拥有的 1.0 (1.0) 二进制文件。状态进入被开发者拒绝。

I went to upload a new binary and ran into this issue, i then saw that i needed to increment my build.

我去上传一个新的二进制文件并遇到了这个问题,然后我看到我需要增加我的构建。

I increased both the app version and build to 1.1, this was a mistake.

我将应用程序版本和构建版本都增加到 1.1,这是一个错误。

I got some error about the app version not matching, understood.

我收到了一些关于应用程序版本不匹配的错误,理解。

Then i tried app version 1.0 and many different build numbers. 1.1, 1.0.1, 1.2, 1.3, 1.0.3..nothing works. I keep getting this error. There is only one build listed on itunes connect (1.0)

然后我尝试了应用程序版本 1.0 和许多不同的内部版本号。1.1, 1.0.1, 1.2, 1.3, 1.0.3..没有任何作用。我不断收到此错误。iTunes Connect (1.0) 上只列出了一个版本

I tried submitting with no binary and it says i need one.

我尝试提交没有二进制文件,它说我需要一个。

I even tried changing the app version to 1.1 in itunes connected and then uploading 1.1 (1.0) and that fails as well with the same duplicate issue.

我什至尝试在连接的 iTunes 中将应用程序版本更改为 1.1,然后上传 1.1 (1.0) 并且由于相同的重复问题也失败了。

Anyone ever have this issue?

有人遇到过这个问题吗?

Screenshot for error

错误截图

采纳答案by crt79

I was trying for hours with no luck, after waiting a few more hours i got a reply from apple support asking for more info. When i went to replicate the issue again for screenshots i decided to use a build number of 2.0, i was hoping maybe it wanted the major version to be higher. This worked! Everywhere online that i read said that 1.0 to 1.1 would work fine...or 1.0.0 to 1.0.1. I, for some reason, had to go from 1.0 to 2.0.

我尝试了几个小时但没有运气,又等了几个小时后,我收到了苹果支持人员的回复,要求提供更多信息。当我为了截图再次复制这个问题时,我决定使用 2.0 的内部版本号,我希望它可能希望主版本更高。这有效!我在网上读到的任何地方都说 1.0 到 1.1 可以正常工作……或者 1.0.0 到 1.0.1。由于某种原因,我不得不从 1.0 升级到 2.0。

Or there is always the possibility that waiting a few more hours did something.

或者总是有可能再等几个小时会有所作为。

回答by Etienne

The workaround of changing the build number is working for me, with the following context:

更改内部版本号的解决方法对我有用,具有以下上下文:

  • the app version status is "Prepare for submission"
  • the new version number is well saved in iTunesConnect (pressing the save button on version page in iTunesConnect)
  • the CFBundleShortVersionString is matching the version number in iTunesConnect (e.g. "1.2")
  • the CFBundleVersion in the Info.plist is incremented (e.g. 1.2.1)
  • 应用程序版本状态为“准备提交”
  • 新版本号很好地保存在 iTunesConnect 中(在 iTunesConnect 中按版本页面上的保存按钮)
  • CFBundleShortVersionString 与 iTunesConnect 中的版本号匹配(例如“1.2”)
  • Info.plist 中的 CFBundleVersion 递增(例如 1.2.1)

In this way, several build are associated to the iTunesConnect version.

通过这种方式,多个版本与 iTunesConnect 版本相关联。

Here is how it looks like in iTunesConnect (1.2 is the short version number, 1.2 and 1.2.1 are the bundle versions):

下面是它在 iTunesConnect 中的样子(1.2 是短版本号,1.2 和 1.2.1 是捆绑版本):

回答by Jayprakash Dubey

Solved this issue by incrementing build version by 1 instead of sub-version. i.e. 1.0 to 2.0 instead of 1.0 to 1.1

通过将build version 增加 1 而不是 sub-version解决了这个问题。即 1.0 到 2.0 而不是 1.0 到 1.1

回答by guozqzzu

You need not to change the version number ,just change the Build number. But you should know that the Build number must be higher than last version you had uploaded. For example, your version number is 2.6.8and Build number is 2.6.8then you can change the Build number to 2.6.9. If you change the Build number to 2.6.8.0it will occur a error say that the Build number(2.6.8.0) must be higher than the exist one(2.6.8). So the key point is Build number.

您无需更改版本号,只需更改内部版本号即可。但是您应该知道内部版本号必须高于您上传的最后一个版本。例如,您的版本号是2.6.8,内部版本号是,2.6.8那么您可以将内部版本号更改为2.6.9。如果您将内部版本号更改为2.6.8.0它,则会出现错误提示the Build number(2.6.8.0) must be higher than the exist one(2.6.8)。所以关键是内部版本号。

@Jayprakash Dubey @Tenaciousd93

@Jayprakash Dubey @Tenaciousd93

回答by DevC

I experienced this also, just increase the build number fixed it for me. I changed the build version to 1.0.1 and it worked. This can be found in the 'General' Tab in Xcode. Make sure you archive and validate again before submitting to App Store.

我也遇到过这种情况,只需增加内部版本号即可为我修复。我将构建版本更改为 1.0.1 并且它起作用了。这可以在 Xcode 的“常规”选项卡中找到。在提交到 App Store 之前,请确保再次存档和验证。

回答by Adromil Balais

For certain reason, Apple provided the build field on the General Tab in Xcode.

出于某种原因,Apple 在 Xcode 的 General 选项卡上提供了 build 字段。

I have also encountered this issue and as much as you do, I am getting the same error over and over again even if I was changing the version numbers.

我也遇到过这个问题,和你一样,即使我更改了版本号,我也会一遍又一遍地遇到同样的错误。

What is suppose to be done here is to update the build number only even using the same version number.

这里假设要做的是即使使用相同的版本号也只更新内部版本号。

In my case, I have an App version 0.0.1, every time I upload a binary I need to change the build number eg: Upload build 0.0.0 - Reject Binary and Upload build 0.0.1 - Reject Binary and Upload build 0.0.2

就我而言,我有一个应用程序版本 0.0.1,每次上传二进制文件时,我都需要更改内部版本号,例如:上传版本 0.0.0 - 拒绝二进制文件和上传版本 0.0.1 - 拒绝二进制文件和上传版本 0.0。 2

回答by winterized

Tried many different build numbers myself. The only option that worked for me was to give a 4 figures build number : 1.1.0.1 (1.1 being my app version number on iTunes Connect).

我自己尝试了许多不同的内部版本号。唯一对我有用的选项是提供 4 位数的内部版本号:1.1.0.1(1.1 是我在 iTunes Connect 上的应用程序版本号)。

Hope it helps!

希望能帮助到你!

回答by theguy

I guess, since Apple has integrated test flight into itunesconnect, there is a difference between version and Build (which is the wording they use in project-settings->target->generalScreen) and in info.plist its equivalent is "Bundle Version String short" and "Bundle Version". Here the wording has never made real sense to me.

我想,由于 Apple 已将试飞集成到 itunesconnect 中,因此 version 和 Build 之间存在差异(这是他们在 project-settings->target->generalScreen 中使用的措辞),而在 info.plist 中,它的等效项是“Bundle Version String短”和“捆绑版”。这里的措辞对我来说从来没有真正的意义。

I have gotten the error with version 2.2 and build 2.2. I changed it to version 2.2 and build 1 (because it was my first upload) and it worked.

我在 2.2 版和 build 2.2 中遇到了错误。我将其更改为 2.2 版并构建 1(因为这是我第一次上传)并且它工作正常。

回答by kaz29

I tried ApplicationLoader 2.9.1, it's working for me. ApplicationLoader 2.9.1 can download from itunes connect.

我尝试了 ApplicationLoader 2.9.1,它对我有用。ApplicationLoader 2.9.1 可以从itunes connect 下载。

回答by Emile Bennett

I've had this problem before and have solved it like you have, by upping my build number every time. It has always worked.

我以前遇到过这个问题,并像您一样解决了它,每次都增加我的内部版本号。它一直有效。

Now however, I am completely stuck. I have just added the Today Extension to my app, and now when I try to upload it always comes back with a 4238, no matter what version / build combination I put in. It's crazy, been at it for 2 hours now.

然而,现在我完全被困住了。我刚刚将 Today Extension 添加到我的应用程序中,现在当我尝试上传它时总是返回 4238,无论我放入什么版本/构建组合。这太疯狂了,现在已经使用了 2 个小时。

I'm wondering if there is any way certain build settings could make the uploader think there are 2 binaries?

我想知道某些构建设置是否可以让上传者认为有 2 个二进制文件?

I have a separate distribution profile for the main app and the extension, I also have 'Build Active Architectures Only' set to NO. That is all I can think of that would mess this up.

我有一个单独的主应用程序和扩展的分发配置文件,我还将“仅构建活动架构”设置为否。这就是我能想到的会搞砸的所有事情。

Any thoughts?

有什么想法吗?