ios 无法向 AppStore 提交应用程序:错误 ITMS-90534:“无效的工具链
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44323009/
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
Can't submit apps to AppStore: ERROR ITMS-90534: "Invalid Toolchain
提问by Pramod
ERROR ITMS-90534: "Invalid Toolchain.
错误 ITMS-90534:“无效的工具链。
New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds." ERROR ITMS-90534: "Invalid Toolchain
. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds."
新应用程序和应用程序更新必须使用公共 (GM) 版本的 Xcode 6 或更高版本、macOS 和 iOS SDK 或更高版本构建。请勿提交使用 Beta 版软件构建的应用程序,包括 Beta 版 macOS 构建版。" ERROR ITMS-90534: "Invalid Toolchain
. 新应用程序和应用程序更新必须使用公共 (GM) 版本的 Xcode 6 或更高版本、macOS 和 iOS SDK 或更高版本构建。不要提交使用 Beta 软件构建的应用程序,包括 Beta macOS 版本。”
I found this error during upload IPA to account.
我在将 IPA 上传到帐户时发现了此错误。
回答by Chuck Smith
If you're looking at this in November 2019, there's an obscure error in Xcode 11.2, which prevents uploading from that version to the App Store. You'll have to upgrade to Xcode 11.2.1, which is currently not available on the Mac App Store yet, but must be downloaded from the Developer Portal here: https://developer.apple.com/download/
如果您在 2019 年 11 月查看此内容,则 Xcode 11.2 中存在一个模糊错误,该错误阻止从该版本上传到 App Store。您必须升级到 Xcode 11.2.1,该版本目前尚未在 Mac App Store 上提供,但必须从此处的开发者门户下载:https: //developer.apple.com/download/
The Xcode 11.2 Archive error log even states:
Xcode 11.2 Archive 错误日志甚至指出:
Edit:
编辑:
Xcode 11.2.1 is now available on the AppStore:
Xcode 11.2.1 现已在 AppStore 上架:
回答by Udaya Sri
I was having the same issue with Xcode 8.3 public version. I reinstall the Xcode and check it, but didn't work ...
我在使用 Xcode 8.3 公共版本时遇到了同样的问题。我重新安装Xcode并检查它,但没有用...
Finally I found the issue , I have mistakenly selected Xcode 3.2-compatible in project format under project document. I changed it to Xcode 8.0-compatible and build & archived it. I could upload it without any errors. Check the screen shot attached ..
最后我发现了问题,我在项目文档下错误地选择了项目格式中的Xcode 3.2-compatible。我将其更改为 Xcode 8.0-compatible 并构建和存档它。我可以上传它而没有任何错误。检查附带的屏幕截图..
回答by Mojtaba Hosseini
Xcode 11.2 is deprecated by Apple on November 5, 2019
Apple 于 2019 年 11 月 5 日弃用了 Xcode 11.2
Always working workaround (Manual download)
始终有效的解决方法(手动下载)
Download the xip file from here
Also:
还:
Latest Release version(Xcode 11.2.1)
or
Latest Beta version(Xcode 11.3 Beta)
or
Any version you need. And all other downloadable contents
最新发布版本(Xcode 11.2.1)
或者
最新 Beta 版(Xcode 11.3 Beta)
或者
您需要的任何版本。以及所有其他可下载的内容
Then extract and move it where you like.
然后将其提取并移动到您喜欢的位置。
You can find all workaround histry of the issue here.
您可以在此处找到问题的所有解决方法历史记录。
回答by aashish tamsya
The same issue occurs with me today (
13 July 2017
).As I was using
XCode 9 beta 2
, till date. Everything was working fine.The last build which I uploaded was on
9th of July 2017
, usingXCode 9 beta 2
.
今天我也出现了同样的问题(
13 July 2017
)。正如我使用的那样
XCode 9 beta 2
,直到日期。一切正常。我上传的最后一个版本是
9th of July 2017
使用XCode 9 beta 2
.
After trying a lot of changes, finally the fix was:
在尝试了很多更改后,最终修复是:
Upgrading to the latest betaof XCode
, which was XCode 9 beta 3
(released on 10th July 2017
).
升级到最新的测试版中XCode
,这是XCode 9 beta 3
(发布10th July 2017
)。
BOTTOMLINE:
底线:
If you are using any beta
version of XCode
, and if it is outdated. Apple will reject your build from that version causing the error asked by questioner. As long as the version is stable you don't need to worry.
如果您使用的是 的任何beta
版本XCode
,并且它已经过时。Apple 将拒绝您从该版本生成的版本,从而导致提问者提出的错误。只要版本稳定就不用担心。
It is recommended to check your current version is latest or not. If not, then download the latest XCode and push a new build achieved using the latest XCode beta
建议检查您当前的版本是否最新。如果没有,则下载最新的 XCode 并推送使用最新的 XCode beta 实现的新构建
Why I didn't use a stable version of XCode instead?
为什么我没有使用稳定版本的 XCode 来代替?
The stable version at this time is XCode 8.3.3
, and the language used is Swift 3
.
目前的稳定版本是XCode 8.3.3
,使用的语言是Swift 3
.
Though there is minimum code breaking change from Swift 3 to 4
, but my latest code base was Swift 4
. Plus, you might be having Pods
in your project which also has to be downgraded to the latest stable version. Until a stable version of XCode 9 is out. So, I opt to download the latest version of XCode beta
虽然有从最小码重大更改Swift 3 to 4
,但我最新的代码基础Swift 4
。另外,您Pods
的项目中可能还需要降级到最新的稳定版本。直到 XCode 9 的稳定版本出来。所以,我选择下载最新版本的XCode beta
回答by Devin
I ran into this issue today with the App Store version of Xcode 9.2.
我今天在使用 Xcode 9.2 的 App Store 版本时遇到了这个问题。
It's definitely not a beta release, I'm guessing there's some delay between when the software is released and iTunes connect gets updated to expect the new version.
这绝对不是测试版,我猜在软件发布和 iTunes Connect 更新以期待新版本之间存在一些延迟。
I've tried all the suggestions above, and none worked... but here's what (although pretty sketchy) did for work me:
我已经尝试了上面的所有建议,但都没有奏效......但这是(虽然很粗略)为我工作的内容:
- in organizer, right-click your archive and show in finder
- show package contents
- find Products/Applications/yourApp.app
- show package contents
- edit Info.plist
- change the value for DTXcodeBuild to a previous version (9.2 is 9C40b, 9.1 is 9C40)
- save and try again
- 在管理器中,右键单击您的档案并在查找器中显示
- 显示包裹内容
- 找到产品/应用程序/yourApp.app
- 显示包裹内容
- 编辑 Info.plist
- 将 DTXcodeBuild 的值更改为以前的版本(9.2 是 9C40b,9.1 是 9C40)
- 保存并重试
This worked for me...
这对我有用...
回答by Arun Basil Issac
For anyone trying with Xcode 11, check the Xcode version. If it's Version 11.0 (11A419c)you cannot submit a build to the app store with this version. Get Xcode Version 11.0 (11A420a).
对于尝试使用 Xcode 11 的任何人,请检查 Xcode 版本。如果它是版本 11.0 (11A419c),则无法使用此版本向应用商店提交构建。获取 Xcode版本 11.0 (11A420a)。
Apps built with Xcode 11 GM seed (11A419c) can no longer be uploaded to App Store Connect. You can now submit apps built with Xcode 11 GM seed 2 (11A420a) using the iOS 13 SDK and watchOS 6 SDK to the App Store.
使用 Xcode 11 GM 种子 (11A419c) 构建的应用无法再上传到 App Store Connect。您现在可以将使用 iOS 13 SDK 和 watchOS 6 SDK 使用 Xcode 11 GM seed 2 (11A420a) 构建的应用程序提交到 App Store。
回答by Krunal
An error message it self says, Use stable (not beta) version of Xcode to create a build. Your mac OS should also be stable (not beta)
它自己显示一条错误消息,使用稳定(非测试版)版本的 Xcode 来创建构建。你的 mac OS 也应该是稳定的(不是测试版)
Use latest stable version of Xcode Tool (Xcode 9)to create your build and upload using Application Uploader.
使用最新稳定版本的 Xcode 工具(Xcode 9)创建您的构建并使用 Application Uploader 上传。
Ensure following points, while creating your build:
在创建构建时确保以下几点:
- Xcode version (Latest stable version of Xcode Tool - Current Xcode 9)
- Mac OS version (Latest stable MacOS version - High Sierra 10.12.7)
- Xcode Project (Document) Format version (Xcode 8.0-compatible)
- Xcode 版本(Xcode 工具的最新稳定版本 - 当前 Xcode 9)
- Mac OS 版本(最新稳定的 MacOS 版本 - High Sierra 10.12.7)
- Xcode 项目(文档)格式版本(Xcode 8.0 兼容)
回答by Neel
Follow this to resolve this issue:
请按照以下步骤解决此问题:
Quit Xcode and any Simulators if they are opened.
Go to this link to download Xcode 11.2.1 GM seed under Applications. Its about 7GB: https://developer.apple.com/download/
退出 Xcode 和任何打开的模拟器。
转到此链接以在应用程序下下载 Xcode 11.2.1 GM 种子。它大约 7GB:https: //developer.apple.com/download/
After downloading, click the
Xcode_11.2.1_GM_Seed.xip
file to extract the Archive.After extracting, move the Xcode file from
Downloads
to the Application folder.
下载后,单击该
Xcode_11.2.1_GM_Seed.xip
文件以解压缩存档。解压后,将 Xcode 文件从
Downloads
Application 文件夹中移动。
- Replace existing Xcode application.
- 替换现有的 Xcode 应用程序。
- Enter login password when prompted.
- 出现提示时输入登录密码。
- Wait for the Moving to complete.
- 等待移动完成。
- When finished, launch Xcode and checkout
About Xcode
to confirm the latest version.
- 完成后,启动 Xcode 并结帐
About Xcode
以确认最新版本。
- Build your App, increment your build number and submit to App Store.
- 构建您的应用程序,增加您的构建号并提交到 App Store。
UPDATE:Version 11.2.1 is now available from App Store itself since Nov 13.
更新:自 11 月 13 日起,11.2.1 版现已可从 App Store 本身获得。
回答by Rivera
A new beta or Golden Master version of Xcode is about to be released, just look for it a few hours later.
Xcode 的新 Beta 或 Golden Master 版本即将发布,请在几个小时后寻找它。
回答by Vahan
Right-Click on the archive file (.xcarchive) > Show Package Contents > Products > Applications > Right-Click on the app file > Show Package Contents > Double-Click on Info.plist to edit it
右键单击存档文件 (.xcarchive) > 显示包内容 > 产品 > 应用程序 > 右键单击应用程序文件 > 显示包内容 > 双击 Info.plist 进行编辑
Remove bfrom the end of the value for DTXcodeBuild(for example change from 9C40b to 9C40)
从DTXcodeBuild值的末尾删除b(例如从 9C40b 更改为 9C40)
Re-submit and it will work
重新提交,它会起作用