carlogulliani (carlogulliani) wrote in macosxdev,

Plug-ins folder within cocoa app

 How can i add Plug-ins folder in cocoa app?
I use webkit framework and i wanna add some plugins to my app?

if i making Plug-ins group it placing in and i need
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
Do you intend for the user to be able to manage plugins after installing the app? Or do you just want to use plugins for making it easy for you, the developer, to add features later.

In the latter situation, you could get away with putting the plugins in your bundle.

But in the more likely situation, where you want the user to be able to add third party plugins, you should not, under any circumstances, store them as part of your app bundle. This was always a bad practice, but will cause your app to misbehave under Leopard if the user is using a firewall, and generally harass them with warnings about your app being an "Application downloaded from the Internet" every time they add or remove a plugin.

This means you need to put those files in the ApplicationSupport/YourApp folder, which is really where they belong anyway. Regardless of where you put them, you're going to need to manage dynamic library loading to get the code in, and that's not something I'm that familiar with in OSX-land.
yes, great thanks for your reply, i understanding, i've found solution:
i made in 'Targets' Build Phase Copy files and set destination: Plugins, after i moved my plugin files in there...

i just make advanced flash player and i need just flash player's plugin.

so, maybe you know how to make fullscreen app?

i use webview in my app, and all tutorials and examples which i've found doesn't work for me or working not so?