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

前端 未结 17 4004
眼角桃花
眼角桃花 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:37

    If you're like me:

    • Uninterested in hacks
    • Brand new to XCODE, just trying to get your React Native or Wrapper app to build and upload
    • Running Xcode 9
    • Didn't declare icons locally properly

    You may have made my mistake and you're not actually having the problems that others here are having. You just need to put the icons in the project!

    My simple solution:

    • Create a 80x80 icon named Icon-40@2x.png
    • Create a 120x120 icon named Icon-60@2x.png
    • Create a 1024x1024 icon named Icon.png
    • Open XCODE
    • Navigate to Images.xcassets, which presents you with several places to drag icons to
    • Drag Icon-40@2x.png to Iphone Spotlight iOS 7, 40pt, x2 box
    • Drag Icon-60@2x.png to Iphone App iOS 7, 60pt, x2 box
    • Drag Icon.png to App Store 1024pt

    Re-archive and retry upload... success!

提交回复
热议问题