Xcode 9.2上载到App Store失败,出现描述长度和无效的工具链错误 [英] Xcode 9.2 Upload to App Store fails with description length and invalid toolchain errors

查看:104
本文介绍了Xcode 9.2上载到App Store失败,出现描述长度和无效的工具链错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了包括以下内容在内的许多论坛:
https://forums.developer.apple.com/thread/87862
以及一些Stack Overflow帖子.

I've read through a bunch of forums including here:
https://forums.developer.apple.com/thread/87862
and some Stack Overflow posts.

我尝试使用建议的解决方案修改我的plist

I have tried modifying my plist using the proposed solution of

find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323

我尝试加载的存档目录中的

,但仍然收到以下错误.我相信我拥有有效的Xcode和Mac OS版本.我正在运行今天发布的Xcode 9.2和High Sierra 10.13.1.为什么我的上传失败并出现这些错误,我该如何解决?

in the archive directory that I'm trying to load, and I'm still receiving the error below. I believe I have valid Xcode and Mac OS versions. I'm running Xcode 9.2 which was released today and High Sierra 10.13.1. Why does my upload fail with these errors and how can I fix it?

文本错误(以使该帖子更易于搜索):

The errors in text (to make this post more searchable):

分发应用程序时发生以下问题.

The following issues occurred while distributing your application.

iTunes Store操作失败
描述长度:2651858

iTunes Store Operation Failed
description length:2651858

iTunes Store操作失败
错误ITMS-90534:无效的工具链.必须使用Xcode 6或更高版本,macOS和iOS SDK或更高版本的公共(GM)版本构建新的应用程序和应用程序更新.请勿提交使用Beta版软件(包括beta macOS)构建的应用程序建造."

iTunes Store Operation Failed
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."

推荐答案

右键单击存档文件(.xcarchive)>显示软件包内容>产品>应用程序>右键单击应用程序文件>显示软件包内容>双击-单击 Info.plist 进行编辑

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

DTXcodeBuild 的值从 9C40b 更改为 9C40

重新提交,它将起作用

编辑/免责声明:这只是绕过上传过程的一个技巧,iTunesConnect仍不允许使用11.2进行提交,因此这不是正确的解决方案.

Edit/Disclaimer: this is just a trick to bypass the upload process, iTunesConnect still doesn't allow submission with 11.2 so this is not the right solution.

这篇关于Xcode 9.2上载到App Store失败,出现描述长度和无效的工具链错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆