Ios / libgdx / robovm : Missing required icon file

If your libgdx / robovm ios app is rejected by Apple auto validation process because of “Missing required icon file” it might be because your project is missing some of the new icon formats needed for ios 7, those seem to be mandatory now.

In my case I had to edit the “Info.plist.xml” file and add icons to the CFBundleIcons section :

    <key>CFBundleIcons</key> 
    <dict> 
      <key>CFBundlePrimaryIcon</key> 
      <dict> 
        <key>CFBundleIconFiles</key> 
        <array> 
          <string>Icon</string> 
          <string>Icon-72</string> 
          <string>Icon-76</string> 
          <string>Icon-120</string> 
        </array> 
      </dict> 
    </dict> 
  </dict>

This should list all needed icon files, now you need to generate the corresponding icons in the data directory of your project

Here is a screenshot with file size and corresponding file names for Alien Blitz, I have also captured the splash screens in case you need it

capture_2016-04-11_20-06-47_0797_data_gThumb_

 

 

 

 

 

 

Comments are closed.