Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

iPad app Xcode asks for @2x.png images, is that right?

When packaging my iPad only app, I am being asked for Default_App_Icon@2x.png image, surely this is for iPhone 4 and the Retina Display.

Should my iPad app be asking for this?

If no, where am I going wrong? I am packaging for 3.2

— asked August 6th 2010 by Stephen Page
  • @2x.png
  • display
  • icon
  • ipad
  • retina
0 Comments

3 Answers

  • Accepted Answer

    The @2x icon might be referenced in the Info.plist file, that's why XCode might be looking for it. Check your Info.plist in build/iphone folder. If that's the case, you can either provide the @2x icon, or move the file into your project's root folder and remove the extra key from it.

    As for the white icon problem:

    1. Check that the icon names are identical to those specified in the Info.plist
    2. Try moving the icons to your Resources/iphone folder.
    3. Delete your project's build/iphone folder and do a full rebuild in Titanium.
    — answered August 6th 2010 by Goran Skledar
    permalink
    1 Comment
    • I checked my newly created 1.4.0 project, and these are referenced in my Info.plist:

      <key>CFBundleIconFiles</key>
      <array>
          <string>default_app_logo.png</string>
          <string>default_app_logo@2x.png</string>
      </array>
      

      So as mentioned, if I wouldn't need the @2x version, I would move the Info.plist to my project's root folder (where tiapp.xml is located), remove the extra icon key and rebuild the project.

      — commented August 6th 2010 by Goran Skledar
  • Mine too, i had to submit mine with that extra 2x icon for ipad-only app.

    I think the problem is Ti generate the same icon settings bundle for ipad only app, you can see the setting on plist file.

    http://developer.apple.com/iphone/library/qa/qa2010/qa1686.html

    [update]
    Come to think of that, i wonder they would reject it because of that 2x icon on a iPad ONLY app. The spec mentioned no 2x icon. Damit!

    — answered August 6th 2010 by Daniel Lim
    permalink
    0 Comments
  • I have created ALL the various icons in ALL the sizes and popped them into my Resources folder.

    I have pointed Titanium at Icon.png and I have also tried Icon-72.png in my Resources folder.

    Both run in the emulator, but produce a white app icon.

    So where am I going wrong?

    AAARRRGGHH!!! Who said this was easy :-)

    — answered August 6th 2010 by Stephen Page
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.