• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How Finder loads icon(specified in Resource Folder) for an application(.app).
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How Finder loads icon(specified in Resource Folder) for an application(.app).
      • From: Spencer Salazar <email@hidden>
  • Prev by Date: custom nscell
  • Next by Date: Numbered lists in NSTextView
  • Previous by thread: custom nscell
  • Next by thread: Re: How Finder loads icon(specified in Resource Folder) for an application(.app).
  • Index(es):
    • Date
    • Thread