我正在使用科尔多瓦 1.7。我即将提交应用程序,但出现此错误:
iPad: icon.png: icon dimensions (57x57) don't meet the size requirements. The icon file must be 72x72 pixels in .png format.
在使用 Cordova/Phonegap 之前遇到过这个错误吗?你是如何解决这个问题的?
Had the same issue...so I checked the previous versions of my app-Info.plist file from the Phonegap era.
Turns out the new Cordova app-Info.plist file uses the "Icon files (iOS 5)" key in the plist file. Phonegap used to use the "Icon files" key...no "(iOS 5)" at the end of it
So the simple solution is to create/add a "Icon files" key in your app-Info.plist file. This should be of type array by default, if not set it to an array and then add the following items of type "string":
Optionally you can add the iPad retina one as well (if you are using that icon, if not I'd omit it):
After doing that the error went away and I was able to archive/validate/submit my app to the app store with xCode without a problem.