Adding an icon to an application

Discussion in 'Mac Programming' started by Appleismylove, Jun 8, 2008.

  1. Appleismylove macrumors newbie

    Apr 2, 2008
    Quick Question...
    I just finished and applescript studio application (except for some finishing touches) and was having some trouble attaching an icon to the application. I now how to change icon, but I don't know how to actually attach an icon to the application, so for example, when I send it to people, that icon is already with it. A quick tutorial would be beautiful...

    Regards — Connor
  2. chocodup macrumors member


    May 17, 2008
    Yesterday, I answered the same question for an applescript. It should work for you too.
    Edit :
    Oups... Sorry... :eek:
    I had not read your post well enough ...
    I have no answer for you
  3. pauljwells macrumors newbie

    Jun 9, 2008
    Did you use Xcode to write your app?

    If so. Create an icon file using icon composer in the developer apps and then drag the .icns file into your project resources. Check the 'copy' box to copy it into your project.

    Then select 'edit active target' from the 'project' menu and go to the 'properties' tab. Type in the name of your icns file (you don't need to add the .icns extension, just the filename) in the 'icon file' field.

    Hope this helps
  4. goodrunb macrumors newbie

    Apr 13, 2009

Share This Page