Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels

前端 未结 17 3998
眼角桃花
眼角桃花 2021-02-19 17:05

My recent App Store upload gave me this error:

iTunes Store operation failed.
Missing required icon file. The bundle does not contain an app icon for iPhone / iP         


        
相关标签:
17条回答
  • 2021-02-19 17:43

    In my case, I've created new icons for the application using this site.

    This error happens because there is no icon of the size indicated in the error. In my case it was icons of different sizes that did not exist.

    https://appicon.co/#app-icon

    0 讨论(0)
  • 2021-02-19 17:44

    If you use xcode 9, maybe try this. Find xcarchive file, execute this command.

    find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323

    Visit developer site stubyte`s answer.

    0 讨论(0)
  • 2021-02-19 17:45

    I also faced the same problem, I created an app icon by this URL:

    https://appicon.co/

    for iPhone and iPad. It gives me a .zip file, I unzip it and move "AppIcon.appiconset" in my application's xcassets.

    Now clean the project and create a new archive and upload it to the AppStore and it worked,

    Thanks

    0 讨论(0)
  • 2021-02-19 17:47

    In my case, for some reason the AppIcon asset was not part of the app target. Checking this checkbox solved the problem:

    0 讨论(0)
  • 2021-02-19 17:47

    Another Simple Fix once discovered:

    I had a similar issue with XCode 9.0, a project that worked perfectly well under XCode 8 and iOS 10 suddenly loses it's icons (only on iPads) when I upgraded the solution.

    Tore my hair out, did the sRGB thing, did the Transparency thing.

    Turns out I still had the following empty entry in my targets info.plist file

    CFBundleIcons~ipad

    I'd long ago moved to specifying this in the target build settings.

    The solution was to simply remove this entry from the info.plist file (clicked the helpful little "-" button. Rebuilt and tested and everything was perfect once more.

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