My Own Icon For My App

Discussion in 'Mac Programming' started by czeluff, Jul 2, 2007.

  1. macrumors 6502

    Joined:
    Oct 23, 2006
    #1
    Hello to all,

    Using Icon Composer I converted a jpg image to an icon. Then, in Xcode, I edited Info.plist and added the icon name correctly into the correct location. This is all correct, because if I goto Project -> Edit Active Target "MyProgram" and then click the Properties button, my icon shows up!

    However, when I switch the Build & Run style from "Debug" to "Release", the app that gets created still has the default Apple icon.

    Help?

    cz
     
  2. macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #2
    Is it in the Info.plist file for the key: <key>CFBundleIconFile</key>?
     
  3. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #3
    Ensure that your icon is actually being copied into the Resources otherwise it won't work. There is a "Copy Bundle Resources" build phase under the Target. You need the icon in there.
     
  4. macrumors regular

    Joined:
    Feb 27, 2006
    Location:
    Kent, United Kingdom
    #4
    You may need to do a clean. I think it's under the build menu. This will cause a new application bundle to be created from scratch, which should hopefully include your new icon.
     

Share This Page