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: Chris Reed <email@hidden>
- Date: Sat, 30 Nov 2002 12:49:23 -0600
These messages describe the changes for bundles in Jaguar:
http://lists.apple.com/archives/projectbuilder-users/2002/Aug/29/
jaguarandpkginfoforbundl.001.txt
http://lists.apple.com/archives/projectbuilder-users/2002/Aug/29/
jaguarandpkginfoforbundl.002.txt
Basically, only applications require PkgInfo from now on. Bundles
should not have a PkgInfo any more (unless you need 10.1 compatibility,
I guess). But for a bundle to be considered a bundle, someone (an
application or the system) has to claim the bundle extension.
They say to file a bug if the bundle extension is not claimed by the
system, but should be. Like for .plugin.
-chris
On Saturday, November 30, 2002, at 05:06 am, Andy wrote:
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.
_______________________________________________
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.