I have created a new project of this type:
Mac OS PowerPlant stationery
Mac OS X Mach-O
Advanced
I wish to do the following three things to the project
(and I am currently stuck on the first):
1. Add a custom icon for the application.
2. Add a custom icon for the application's document.
3. Add another custom icon for a additional document kind.
I have .icns files for the the icons.
The file 'AppProperetyList.plc' contains this line:
key "CFBundleIdentifier" value string kBundleIdentifier
and what I tried is to add, immediately following, this line:
key "CFBundleIconFile" value string "StoxAppl.icns"
but the app is built with the generic icon.
I have been unable to locate any documentation concerning the use of
icons (since OSX -- I mastered the techniques appropirate for Max OS 7,
etc.), nor can I find any example Machk-O projects that use non-generic
icons.
David Phillip Oster - 25 Nov 2004 07:12 GMT
> I have been unable to locate any documentation concerning the use of
> icons
<http://developer.apple.com/technotes/tn/tn2013.html>
> nor can I find any example Machk-O projects that use non-generic
> icons.
Just Show-Package-Contents (i.e., control click) on almost anything in
/Applications and look at its Contents/Info.plist
Now, try it with your own app. Does it have the correct icns files in
the Contents/Resources subfolder? if not, set up the "Package" tab of
your Codewarrior project correctly.
Search on <http://groups.google.com/> for StandardInfoPlistKeys.h
David Phillip Oster