xcode iOS 版本:此版本在 iTunes 连接中无效

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

iOS Builds: This build is invalid in iTunes connect

iosxcodeswiftsprite-kitapp-store-connect

提问by Rae Tucker

I recently uploaded an app to the app store and its been processing for a few days now. I went in this morning to check everything out, and on the top bar of iTunes connect, i clicked on iOS builds to see how everything was going and I got a red circle with an exclamation point in it. When I clicked on it, it says "This build is invalid". Does anyone know the cause of this?

我最近将一个应用程序上传到应用程序商店,它已经处理了几天。我今天早上去检查了所有内容,在 iTunes Connect 的顶部栏上,我点击了 iOS 版本以查看一切进展情况,我看到一个带有感叹号的红色圆圈。当我点击它时,它说“此版本无效”。有谁知道这是什么原因?

回答by user2848810

Check your email, it tells you exactly what is wrong. In itunes connect it simply says "This build is invalid" which is kind of useless. If you check your email it will most likely be a testflight issue as you included the sdk in your build and its integrated into itunes connect now:

检查您的电子邮件,它会准确地告诉您出了什么问题。在 iTunes Connect 中,它只是说“此版本无效”,这有点无用。如果您查看电子邮件,则很可能是 testflight 问题,因为您在构建中包含了 sdk 并将其集成到 itunes connect 中:

"TestFlight SDK - TestFlight no longer requires an SDK to enable beta testing, crash reporting and analytics. To continue using TestFlight, set up Beta Testing in iTunes Connect and remove references to the SDK from the following executables:"

“TestFlight SDK - TestFlight 不再需要 SDK 来启用 Beta 测试、崩溃报告和分析。要继续使用 TestFlight,请在 iTunes Connect 中设置 Beta 测试并从以下可执行文件中删除对 SDK 的引用:”

回答by Amrit Sidhu

I was facing the same problem. I solved it by good luck after couple of hours of struggle. This issue was due to cocoa pods. Actually I installed "Alamofire" through cocoapods versions "0.38". I updated the pods for Alamofire 3.1.2. This build successfully got uploaded to the itunes connect but was declared as invalid in itunesConnect.

我面临着同样的问题。经过几个小时的斗争,我运气好地解决了它。这个问题是由可可豆引起的。实际上,我通过 cocoapods 版本“0.38”安装了“Alamofire”。我更新了 Alamofire 3.1.2 的 Pod。此版本已成功上传到 itunes Connect,但在 itunesConnect 中被声明为无效。

This reason was Alomofire 3.1.2 required cocoapods version 0.39. But I updated it using 0.38. So it was the issue.

这是因为 Alomofire 3.1.2 需要 cocoapods 0.39 版。但我使用 0.38 更新了它。所以这就是问题所在。

Fix: Normal updating cocoapods by using the cpmmand $ gem install cocoapods, and then updating alamofire would not fix the problem. You will have to : 1. Update cocoapods using $ gem install cocoapods. 2. Delete the existing pod references from your project. 3. Reinstall pods using pod install command. 4. Done

修复:使用cpmmand $ gem install cocoapods 正常更新cocoapods,然后更新alamofire 无法解决问题。您必须: 1. 使用 $ gem install cocoapods 更新 cocoapods。2. 从您的项目中删除现有的 pod 引用。3. 使用 pod install 命令重新安装 pod。4. 完成

回答by h3dkandi

You could validate the app archive trough Xcode and get details of what is the problem. The archives are currently found under Window->Organizer. To validate it you can click the "Validate..." button under the "Upload to App Store..." button. This may help you if you didn't get an email with details for the problem as was my case.

您可以通过 Xcode 验证应用程序存档并获取问题所在的详细信息。档案当前位于窗口->组织器下。要验证它,您可以单击“上传到 App Store...”按钮下的“验证...”按钮。如果您没有像我一样收到包含问题详细信息的电子邮件,这可能会对您有所帮助。

回答by Krunal Nagvadia

In my case I just Drag and Drop The SDKIn folder include info.plistfile which is not in use. That's create the issue for me. So find the unused info.plistfile and delete it from the Source code. Cleanthe project folder and Re upload.

在我的情况下,我只是拖放未使用的SDKIn 文件夹包含info.plist文件。这就是为我创造的问题。所以找到未使用的info.plist文件并从源代码中删除它。Clean项目文件夹和Re upload.

回答by Sola Zhou

I got the same problem too. I write a App with Objective-C and use ios-charts(is swift),and I need to support iOS7,so it is troublesome... and when I upload app to AppStore I get the problem. I submit it again ,but still the problem. then I despair to clean the project and reset the codesiganature,what... that work! I just hehele ... enter image description here

我也遇到了同样的问题。我用Objective-C写了一个应用程序并使用ios-charts(快速),我需要支持iOS7,所以很麻烦......当我将应用程序上传到AppStore时出现问题。我再次提交,但问题仍然存在。然后我绝望地清理项目并重置代码签名,什么......那工作!我只是呵呵……在这里输入图片描述

回答by user418751

I got the same problem too. and It turns out that I archive the build with Reveal framework reference. I think that's the problem. In the pass, I made the same mistake and Xcode shows detail error info during uploading. Now it seems not.

我也遇到了同样的问题。事实证明,我使用 Reveal 框架参考归档了构建。我认为这就是问题所在。在传递中,我犯了同样的错误,Xcode 在上传过程中显示了详细的错误信息。现在好像不行了。

回答by Mohd Asim

Recently I faced the same issue on iTunes Connect and I received an email from apple regarding to TestFlight SDK that I forgot to remove from my project bundle. It says 'TestFlight no longer requires an SDK to enable beta testing' so after removing SDK clean the code, make archive again and upload. That't it!

最近我在 iTunes Connect 上遇到了同样的问题,我收到了一封来自苹果的关于 TestFlight SDK 的电子邮件,我忘记从我的项目包中删除它。它说“TestFlight 不再需要 SDK 来启用 Beta 测试”,因此在删除 SDK 后清理代码,再次进行存档并上传。不是这样!