How do you change the NSApplicationIcon so that it appears in the “About Application” dialog box. I have prepared a .icns file and have added it to my project in xcode but I can’t figure out how to link it.
Any help would be greatly appreciated!
CarbonQuark
Assuming that you’re using the newest version of Xcode…
In Xcode, in the “Groups & Files” list, expand the “Targets” item and then double-click on your application… i.e. “MyApp”.
A window titled Target “MyApp” Info will pop up. Click on the “Properties” tab.
In the “Icon FIle” text field, enter the name of your .icns file, WITHOUT the “.icns” part… i.e. “MyIcon”, not “MyIcon.icns”. I believe you can also drag the icon from the list right into the text field, but that you’ll have to test.
Save, re-build, and run your app. The icon should now appear in the dock and anywhere your app icon is generically inserted by the OS.
Thanks for the quick response! That worked perfectly!.. I knew it was something simple just couldn’t find it. I was able to just drag my icon from my resource folder into the text field.