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

前端 未结 26 1354
一生所求
一生所求 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: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.

提交回复
热议问题