Re: How to set the Finders bundle bit for a MIDI driver plugin
Re: How to set the Finders bundle bit for a MIDI driver plugin
- Subject: Re: How to set the Finders bundle bit for a MIDI driver plugin
- From: Andy <email@hidden>
- Date: Sat, 30 Nov 2002 11:06:21 +0000
Apparently 10.2 doesn't recognize the .plugin extension as a bundle.
Is there a mechanism in Project Builder to set the Finder's bundle bit
in
the created .plugin folder so the user sees my MIDI Driver plugin as a
bundle rather than a folder?
The 10.1 project builder must have done that automatically; I can't
get the
10.2 project builder to set the Finder's bundle bit on the created
product.
Any clues?
Sounds like you need to add a PkgInfo file to your project
file name = PkgInfo
contents = 8 bytes of plain text : bundle id / creator code
eg
BNDL????
where ???? is your creator code
The same is true for the .component bundle for an AU. Without the
PkgInfo the Finder will always display the package as a normal folder.
Project builder no longer does this automatically for non application
projects, I use a simple copyfiles phase to add the pkginfo to my
bundle.
I believe the Finder no longer requires the use of PkgInfo to recognise
a bundle or package, but it is still buggy and adding the file will
sort out the problem.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.