Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

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

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

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?

upload error messages

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

like image 210
JuJoDi Avatar asked Dec 05 '17 00:12

JuJoDi


3 Answers

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.

like image 181
Clouds Avatar answered Oct 23 '22 21:10

Clouds


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

like image 23
Max Power Avatar answered Oct 23 '22 23:10

Max Power


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.

like image 4
Kaixin Lian Avatar answered Oct 23 '22 23:10

Kaixin Lian