• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Frameworks in bundles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frameworks in bundles?


  • Subject: Re: Frameworks in bundles?
  • From: Karsten <email@hidden>
  • Date: Wed, 16 Apr 2008 17:03:57 +0200

Hi Thomas,

you need to link the plugins to the frameworks as well, or you add the linker option: "-undefined dynamic_lookup" to the plugins. That will stop linker errors, but you'll have to make sure that the objects that are not found during linking, are there at execution time, when they are accessed. Otherwise your app will crash.

You can also specify where the frameworks are located, that's something like @executablePath/../Framworks, but i'm not sure about how to do that, but that must be specified in your main bundle's build settings already.

If that all doesn't help, maybe you should also write which errors occur.

Kind Regards
Karsten



Am 15.04.2008 um 23:15 schrieb Thomas Backman:

Hi everybody.
I'm writing a plugin architecture for my app. I just moved a class from the main project to a new Bundle project, and got 18 errors because of a few missing frameworks. I'm using two frameworks that I ship with the app, since they're not included in OS X.
To start with, I'll have three plugins, all of which require those frameworks.
Now, that means that the three plugins, each with only 100-150 lines of code, need 4MB worth of frameworks... Is there a way to get around this without making it ugly, to include the frameworks *once*?


Obviously, it'd be great if the solution meant that plugin developers wouldn't have to include the frameworks as well...
Any ideas?


Regards,
Thomas
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Frameworks in bundles? (From: Thomas Backman <email@hidden>)

  • Prev by Date: Re: WebKit+AppleScript+JavaScript
  • Next by Date: Re: Detect phone number in NSString
  • Previous by thread: Re: Frameworks in bundles?
  • Next by thread: Getting selection of IKImageView?
  • Index(es):
    • Date
    • Thread