How Finder loads icon(specified in Resource Folder) for an application(.app).
How Finder loads icon(specified in Resource Folder) for an application(.app).
- Subject: How Finder loads icon(specified in Resource Folder) for an application(.app).
- From: Janakiram <email@hidden>
- Date: Thu, 19 Oct 2006 19:18:34 +0530
Hi All,
I am creating a .app ( MyApp.app) manually from the terminal.
This is the structure of my application bundle.
MyApp.app
|
|
|----- Contents
|
|------------------ Frameworks
| |
| |------ MyFramework.framework
|
|-------------------Info.plist
|
|
|-------------------PkgInfo
|
|------------------ MacOS
| |
| |------ MyApp
|
|------------------ Resources
| |
| |------ MyAppIcon.icns
And MyApplications Info.plist is as follows
<?xml version=1.0 encoding=UTF-8?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://
www.apple.com/DTDs/PropertyList-1.0.dtd>
<plist version=1.0>
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>MyApp</string>
<key>CFBundleIconFile</key>
<string>MyAppIcon</string>
<key>CFBundleIdentifier</key>
<string>com.xxx.myapp</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>MyApp</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>PAWS</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>
Finally after executing instructions to create these directories and
file from the terminal , finder shows my application icon as the
default one. Am i missing any thing. Please help me to solve this
problem.
Thanks in Advance.
Thanks,
JanakiRam.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden