Titanium Community Questions & Answer Archive

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

sdk 1.8.0.1 info.plist and appicon72.png ipad icon issue

I edited the info.plist in 1.8.0.1 the same as I did for the 1.7.X series to include appicon72.png so that universal submissions would not complain about appicon being 57X57..

And still.. it builds it just the 2 entries of appicon and appicon@2

I cant figure out where its getting that from!

— asked January 20th 2012 by stephen hovey
  • 1.8.0.1
  • appicon
  • ipad
0 Comments

4 Answers

  • You didn't mention this so I have to ask. Have you tried cleaning your project to make sure that any old appicons have been removed? Project > Run … from the Studio menu.

    Also, editing the info.plist is a workaround for the universal app that isn't always necessary if you have the properly named images of the correct sizes in your app. Take a look at this list of standard artwork for your applications: http://developer.appcelerator.com/question/116776/complete-list-of-standard-artwork

    — answered January 20th 2012 by Anthony Decena
    permalink
    0 Comments
  • Lookin at the build log it seems to be picking up the 2 filename section a second time from somewhere - doing a find/grep isnt finding where from.. If you look at this log chunk, it pulls in the right 3 i9con section, then further down pulls in a bad one which seems to take presidence.
    ~~~ontents of Info.plist

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>English</string>
    <key>CFBundleDisplayName</key>
    <string>${PRODUCT_NAME}</string>
    <key>CFBundleExecutable</key>
    <string>${EXECUTABLE_NAME}</string>
    <key>CFBundleIconFile</key>
    <string>appicon.png</string>
    <key>CFBundleIconFiles</key>
    <array>
    <string>appicon.png</string>
    <string>appicon72.png</string>
    <string>appicon@2x.png</string>
    </array>
    <key>CFBundleURLTypes</key>
    <array>
    <dict>
    <key>CFBundleURLName</key>
    <string>com.simonlaw.mediationmaster</string>
    <key>CFBundleURLSchemes</key>
    <array>
    <string>mediationmaster</string>

            </array>
        </dict>
    </array>
    <key>CFBundleIdentifier</key>
    <string>com.simonlaw.mediationmaster</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>${PRODUCT_NAME}</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.0</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0</string>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    
        <key>UISupportedInterfaceOrientations~ipad</key>
        <array>
    <string>UIInterfaceOrientationPortrait</string>
    </array>
        <key>UISupportedInterfaceOrientations</key>
        <array>
    <string>UIInterfaceOrientationPortrait</string>
    </array>
        <key>UIStatusBarStyle</key>
        <string>UIStatusBarStyleDefault</string>
        <key>CFBundleIconFiles</key>
        <array>
    <string>appicon.png</string>
    <string>appicon@2x.png</string>
    

    </array>

        <key>UISupportedInterfaceOrientations~ipad</key>
        <array>
    <string>UIInterfaceOrientationPortrait</string>
    </array>
        <key>UISupportedInterfaceOrientations</key>
        <array>
    <string>UIInterfaceOrientationPortrait</string>
    </array>
        <key>UIStatusBarStyle</key>
        <string>UIStatusBarStyleDefault</string>
    

    </dict>
    </plist>
    ~~~

    I cant find where this second chunk is being pulled in from for luv nor money!

    — answered January 20th 2012 by stephen hovey
    permalink
    0 Comments
  • I FOUND IT! The last step where it builds for xcode archive ignores info.plist and looks for filename patterns.. but changing appicon72 to appicon-72 got it to pick it up..

    Thats a badly done attempt at a fix on appcelerator's part.. custom info.plists should stick as is!

    — answered January 27th 2012 by stephen hovey
    permalink
    0 Comments
  • I am having the exact same problem with 1.8.2 sdk. With appicon.png & appicon@2x.png & appicon-72.png in the resources\iphone directory. Only the appicon.png file is copied to the build directory. The info.plist lists all three files. Did you use the default info.plist that lists a single file? I cannot get it working with either version of the info.plist.

    — answered March 9th 2012 by rick myers
    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.