Xcode 9.2 Upload to App Store fails with description length and invalid toolchain errors

匿名 (未验证) 提交于 2019-12-03 01:27:01

问题:

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

I have tried modifying my plist using the proposed solution of

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 Operation Failed
description length:2651858

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."

回答1:

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

Change value of DTXcodeBuild from 9C40b to 9C40

Re-submit and it will work

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.



回答2:

There is a discussion on this subject : https://forums.developer.apple.com/thread/93253 They advise to wait for the deployment of the new Xcode version number on the backend or come back to Xcode 9.1, it seems it works.

UPDATE : Change the DTXcodeBuild doesn't work



回答3:

UPDATE: Although my option may let you upload the package to iTunesConnect successfully, but may fail when you click Submit for Review.

Check this screenshot

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

Change DTXcodeBuild's value from 9C40b to 9C40 and it will work.



回答4:

I started with several "iTunes store operation failures". While fixing the other errors, I keep trying to fix this "description length" error too - but it always failed. So I solved all other errors first and suddenly this error was gone too.

I BELIEVE this error depends on other errors. The last error I fixed was called "Storyboard file not found")

Xcode 9.2



回答5:

Already Fixed, just try again to submit the app.



回答6:

I found a workaround it: Download Xocde 9.1 from https://developer.apple.com/download/more/

Make a fresh archive then upload it. It worked for me.

P.S. I did not send for review but I sent it to internal testers including myself.



回答7:

Hard Clean Product worked for me.

Hard clean the product by Command + Shift + Alt + K, then upload a new build to AppStore.

I hope this will work for you too.



回答8:

This issue was solved for me with installing the latest stable release of Xcode 9.2 (mac OSX Sierra 10.12.6)



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!