
Signature
Eric Albert ejalbert@cs.stanford.edu
http://outofcheese.org/
> >
> > I have an xCode project (aProject.xcodeproj, say) that somehow lost
[quoted text clipped - 7 lines]
> for the directory's extension. If I do "mkdir foo.xcodeproj", the
> resulting directory gets the right icon.
Ah. Thanks. I finally realized that I copied the project to my laptop,
but hadn't installed xCode 2.2 on that computer yet, so, the .xcodeproj
extension wasn't in the Launch Serviced database (just .xcode). I
suppose that by the type we are to xCode 3.x, we'll have 12 character
file extensions--won't that be fun!
So: what the heck is the bundle bit for (e.g.
/Developer/Tools/GetFileInfo) ?

Signature
James Meiss
<http://amath.colorado.edu/faculty/jdm>
Eric Albert - 23 Oct 2005 19:39 GMT
> > > I have an xCode project (aProject.xcodeproj, say) that somehow lost
> > > its identity as a bundle (or is it a package?). So it appears to the
[quoted text clipped - 12 lines]
> suppose that by the type we are to xCode 3.x, we'll have 12 character
> file extensions--won't that be fun!
Hopefully just .xcodeproj -- the project file format is better designed
now so hopefully renaming it won't be necessary.
> So: what the heck is the bundle bit for (e.g.
> /Developer/Tools/GetFileInfo) ?
Not very much any more. It's a holdover from Mac OS 9.
-Eric

Signature
Eric Albert ejalbert@cs.stanford.edu
http://outofcheese.org/
James Meiss - 24 Oct 2005 17:26 GMT
> So: what the heck is the bundle bit for (e.g.
> /Developer/Tools/GetFileInfo) ?
Well, I guess (to answer my own question) we have from
<http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBun
dles/Concepts/BundlesAndFinder.html#//apple_ref/doc/uid/20002127-BAJIBGGC
The Finder identifies bundles by any of the following mechanisms:
€ The bundle directory has one of the known bundle extensions: .app,
.bundle, .framework, .plugin, .kext, and so on.
€ The directory has its bundle bit set.
€ The directory has a known structure type indicating it is a modern
or versioned bundle.
So it appears that you can create a bundle by setting the bundle bit on
a directory, too.

Signature
Jim Meiss
<http://amath.colorado.edu/faculty/jdm>