Problem with Icon.png (Icon specified in the Info.plist not found under the top level app wrapper: Icon.png (-19007))

前端 未结 26 1223
一生所求
一生所求 2020-12-06 09:51

I\'m putting together a universal app and I have the icons in my project, but I keep getting a warning from the compiler in regards to Icon.png.

I followed the instr

相关标签:
26条回答
  • 2020-12-06 10:29

    In AppName.xcodeproj/project.pbxproj i changed the occurrences of icon.png -> Icon.png and the validations passed.

    0 讨论(0)
  • 2020-12-06 10:29

    Had the same issue building a 5.1 app.

    Just simply removed and send to trash the offending files. Then re-imported, making sure the copy button was ticked.

    Clean -> Build

    Now works. I guess those files weren't being copied over as they should have been..

    0 讨论(0)
  • For some reason the (possibly when adding multiple icons and changing the file?) the item gets moved to item 1-... Make sure your icon is listed as item 0 in the plist

    enter image description here

    0 讨论(0)
  • 2020-12-06 10:30

    I was getting the same error, also with a universal app. I had a project from Xcode 3 (already submitted to store). I opened in Xcode 4 and saw the fancy image-linking page (click on target, "summary" and "app deployment info") when you click on the target. After linking various icons, testing, compiling, and then archiving, I got this error.

    One extra thing- I'd added the icon names byhand in to the plist in Xcode 3. My guess is that this was conflicting with the image-linking feature in Xcode 4. So I removed one entry, "icon" in the plist. The new image-linker creates plist entries as an array. I left that the same, though I did verify the filenames with the image names in my bundle, and capitalized one of them in both places. I removed and added back the problematic image to the bundle.

    I validated and it passed.

    My guess is that "special" icon names- that are dynamically linked to certain features in the app- are going to be more sensitive than random ones. With the new image-linking ability, you can name your icon files anything you want.

    Hope this helps.

    0 讨论(0)
  • 2020-12-06 10:32

    just ran into this tonight - its not good enough to be named correctly and in the proper folder. make sure you drag it into the x-code folder structure if i'm explaining that properly. in the folder view, make sure their actually listed in there.

    0 讨论(0)
  • 2020-12-06 10:33

    Same issue for me; I resolved by setting "Compress PNG Files" to "NO" in info.plist. Cleaned, archived, validated, success.

    0 讨论(0)
提交回复
热议问题