How to solve “Missing Marketing Icon. iOS Apps must include a 1024x1024px”

前端 未结 9 1831
萌比男神i
萌比男神i 2021-02-01 12:19

I am uploading app in iTunes from Xcode 9.0...This error is showing on the last step. How to solve this? 1024x1024px icon is present in my icons list

9条回答
  •  长发绾君心
    2021-02-01 12:40

    If you are using Cordova Framework then:

    • Create an icon file with height=1024px and width=1024px. You can name the file as icon-1024.png
    • Put that icon in folder res/icon/ios/
    • Write the following code in your config.xml file.

      
          
      
      
    • Open terminal/command-prompt, then cd to your project's root directory and run the following command:

      cordova prepare ios --verbose
      
    • This will copy the icon-1024.png file to its proper location (platforms/ios/YourProjectName/Images.xcassets/AppIcon.appiconset/)

提交回复
热议问题