发布于 1年前

Xcode 9.2上传app报错:ERROR ITMS-90534: "Invalid Toolchain."

新安装Xcode 9.2 (9C40b),上传app到App Store时报错:

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

这个可能是Xcode 9.2的bug。苹果的开发者论坛Xcode 9.2 app uploading broken?给出了一个可能的解决方案:

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

主要就是展开打包文件.xcarchive,找到app的Info.plist,把DTXcodeBuild的9C40b改为9C40

©2020 edoou.com   京ICP备16001874号-3