打包上传App Store遇到的问题

2020-03-10  本文已影响0人  黎先生_

ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface"

解决办法:
For Xcode 9 on High Sierra try this:

Go to Menu Product > Archive, right click on your new build > Show in Finder.
Open Terminal and change to Archive: (type cd + space, drag your new build *.xcarchive

cd /Users/[user]/Library/Developer/Xcode/Archives/[XXX].xcarchive
Using @stubyte's code:

find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323
Go back to Xcode > Windows > Organizer > Upload to App Store...

上一篇 下一篇

猜你喜欢

热点阅读