可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I'm trying to upload my binary to iTunes Connect using Applicaton Loader. When I select the file and hit send, it sends for about a second and then this error pops up,
Icon specified in the info.plist not found under the top level app wrapper: Default -Landscape@2x~ipad.png
What does this mean? How do I fix it?
回答1:
Another setting that can cause the issue:
You have to make sure the icon files are also found under build phases/bundle resources
回答2:
Edit your projects .plist file "as source code" i.e. open it in any old text editor. Then manually edit the icon file names until they make sense.
回答3:
The .plist
is case-sensitive when validated and archived for upload to the App Store.
If you have this in the .plist
:
icon-72@2X.png
the file name can not be
icon-72@2x.png
owing to the the case change of the x character .
回答4:
I am Facing the same problem, i rename the file and corresponding change the name of icon file in the info.plist and this solution works for me.
回答5:
- Clean your build
- Make sure the file is actually on the file system
- Make sure you can see the file in the project navigator.
- Most likely step 3 will fail. If so, drag the icon from the finder onto the Project Navigator. When asked, uncheck the "copy ..blabla" option because since the file is already there where you are dragging it to, it would fail. Once the file shows up in the Project Navigator you should be golden.
回答6:
Also check that you dont have 2 icons with the same name anywhere in your project folders.
回答7:
I am thinking that the answer to this question will vary in time because Apple constantly changes the application validation rules. These validation rules will surface only when you are submitting your app to the AppStore.
In this particular situation, the validation error happened to me while uploading the app on 08/03/2012.
The solution was fairly straight forward. I had to move to icon files which I had located in a folder nested within the project directory all to way up to the TOP LEVEL project directory - one that has the project file in it. Once I did that and readded the files back to the Resources in my project the validation error went away.
Of course you should check that this issue is not caused by misspelled filenames i.e. differences between your plist file and true names of icon files on your file system.
回答8:
Another little issue that caught me out was an empty string. I got the cryptic failure message ...
Icon specified in the info.plist not found under the top level app wrapper:
And found this lurking in my plist
<string></string>
回答9:
I was similar problem's. I have resolve to do this
1/ delete your application Icone in your Target
2/ rename your icone ex: applicationNameSmall.png
3/ add your icone in your application.
This, works for me.
回答10:
Error is coming up because the App Store is checking names of icon files based upon yourProject-info.plist. If they don't match, error message.
To resolve this issue: Go to yourProject-info.plist in xcode and check BOTH "icon-files" and "icon-files(IOS5)" arrays. You'll want to make sure that each string corresponds with the icon files you have in the file directory.
Change or delete mismatched string names (I had to delete a blank string). Rebuild. As other posters have noted, names are case-sensitive, so be mindful of that too.
回答11:
Sometimes Icon.png files needs to be open in some image editing tool (e.g Adob Photoshop) and save as a new image. This works fine. Check attached images some times image properties don't change by renaming image file manually.
回答12:
I had the same issue. I just added the image files it complained about to the project in the viewer. Not sure if that was the right thing to do, but it resolved the issue for me.
回答13:
I had a silly mistake, in my info.plist the i had Icon.png, and the real file name was icon.png (no uppercase)
回答14:
- Fix the images issues it suggests.
- Clean your project.
- Build and run to make sure nothing has broken.
- Delete the previous archive
- Make a new archive (Product -> Archive)
This worked for me. I had to rearchive my application cause the previous one was not updated.
回答15:
I had the same problem. I gone to Targets->Build Phases and deleted from there old (test) icons which I had pushed early. Good luck:)