• 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
Re: Why don't bundled applets have a bundle ID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why don't bundled applets have a bundle ID?


  • Subject: Re: Why don't bundled applets have a bundle ID?
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 11 Jun 2010 09:09:25 -0500

On Jun 11, 2010, at 7:56 AM, Bill Cheeseman wrote:

I just noticed that an AppleScript applet saved as a bundled app doesn't have a bundle ID entry in the Info.plist file. It does still have type and creator codes. Why is that?

Ditto for a script saved as a script bundle.

An application bundle you create for your own use probably does not need a CFBundleIdentifier. If you write an AppleScripted application bundle for public distribution, it should have a CFBundleIdentifier and if it has a preference file, it should be named using the CFBundleIdentifier. Since the CFBundleIdentifier is used to identify the author of the application, it cannot be randomly generated.

For example, I distribute a commercial application which stores information in a preference file. The code contains the line:

property prefsName : "com.LutherFuller.MailWing" -- = CFBundleIdentifier

which is used to read/write the preference file. And, of course, I compile using "Script Bundle Tool" and I include this text in the project.plist file associated with the project so that CFBundleIdentifier appears in the bundle's Info.plist file every time I compile.

I am not yet an Xcode user, so I don't know if Xcode can supply a CFBundleIdentifier for an application.

The documentation for CFBundleIdentifier recommends its use, but seems to leave it up to the author to create and write it to the bundle's Info.plist file. Doing this manually is tediously impossible, which is why I wrote SBT.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Why don't bundled applets have a bundle ID? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Why don't bundled applets have a bundle ID?
  • Next by Date: Re: More XML stuff - reading - changing - and writing the file
  • Previous by thread: Why don't bundled applets have a bundle ID?
  • Next by thread: Bug introduced in Mail after Safari 5 install
  • Index(es):
    • Date
    • Thread