Copying Plugin Bundles to the Application Bundle
Copying Plugin Bundles to the Application Bundle
- Subject: Copying Plugin Bundles to the Application Bundle
- From: julius <email@hidden>
- Date: Sun, 17 Oct 2010 21:27:28 +0100
XCode 3.2.4.
I'm learning about building Cocoa plugin based applications where the plugin code resides within the application's Content/Plugins folder. I have now succeeded in building my first plugin and exchanging data with it from the base application. However, I had to create the Plugins folder manually using the finder and manually copy the plugin to that folder. I know there exists a way of copying the plugin into the base application during the Copy Files Build Phase because there is a description of this in the Code Loading Programming Topics documentation under the heading "Copying Loadable Bundles to the Application Bundle"
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/LoadingCode/Tasks/Componentizing.html
Unfortunately the instructions appear to refer to an earlier version of XCode or Project Builder. Is there an up to date set of these anywhere to be found or failing that could someone please list the steps involved.
In all my attempts to use the Copy Files Build Phase I was unable to create the Contents/Plugins folder which is why I ended up doing this using the finder - or is that the normal way of doing it?
I am under the impression that it is possible to configure XCode so that the latest build of the plugin will be the one copied during the Copy Files Build Phase. Some advice on this would also be appreciated.
Thanking you in advance
Julius
http://juliuspaintings.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden