Titanium Community Questions & Answer Archive

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

appicon.png on iPHONE

I am running titanium builder 1.2.1
SDK 1.4.1.1
when you create a new application, there is an option for the application icon. The default is appicon.png… if you leave the default as is, the Developer creates an app dir with appicon.png in both the iPHONE and ANDROID dirs.
But, on the iPHONE emulator, i get a blank icon.
just thought I would let someone know… just a stupid little detail.
but I will play with it more, perhaps I can fix it somewhere else…

— asked September 22nd 2010 by vincent youmans
  • appicon.png
  • iphone
0 Comments

7 Answers

  • I noticed that with previous nightly builds. But, since I was having so many other issues with Developer on the Mac I had gotten around to figuring out how to solve the issue. My splash screen was always the default Powered by Titanium graphic, even though I put a custom PNG in its place.

    — answered September 22nd 2010 by Tim Poulsen
    permalink
    0 Comments
  • …sorry wrong post

    — answered September 23rd 2010 by Jason Brock
    permalink
    0 Comments
  • It needs to be named default_app_logo.png

    — answered September 23rd 2010 by Charles Davison
    permalink
    0 Comments
  • Did you found any solution for this issue? I also get a blank app icon and can't make my custom icon appear.

    — answered October 6th 2010 by Fernando Morgenstern
    permalink
    0 Comments
  • I Had this issue and found an answer here in the Q&A. It seems to be a bug where project/build/iphone/info.plist does't update the value for the icon.

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

    If you update that to be default_app_logo.png it will start showing the default icon for your project and you can overwrite it.

    GL

    — answered October 6th 2010 by Juan Bermudez
    permalink
    0 Comments
  • Hi, I solved the problem by opening up the .xcodeproj file in xcode and adding the png file to the resources folder. The icon showed up properly in the simulator.

    The changes should stick.

    — answered October 9th 2010 by Sujit Kar
    permalink
    2 Comments
    • That's also what I did.. but I did not want to mention it as its not a very elegant way of doing stuff.

      — commented October 9th 2010 by vincent youmans
    • Yeah… deleting the iphone build folder followed by a rebuild means having to do it again. The icon drops out.

      — commented October 9th 2010 by Sujit Kar
  • You need to go click iPhone Simulator, then select "Clear Content & Settings".

    Note, this will remove all the apps on the simulator and clear the simulator's cache. Just launch the apps again, and any icon's or images you replaced will be reloaded.

    — answered November 2nd 2010 by Miles Savelli-Holt
    permalink
    1 Comment
    • This didn't work for me mate. Tried removing entire build/iphone folder too.

      — commented June 15th 2011 by James Martin
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.