• 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: plug-in problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plug-in problem


  • Subject: Re: plug-in problem
  • From: p3consulting <email@hidden>
  • Date: Tue, 2 Sep 2003 15:59:45 +0200

> I am getting the following errors in the console:
> 1)Both XXX and YYY have implementations of class CurrentAssignment
> 2)objc: thread is already initializing this class!
>
> my app then just exits with status 1. My plug is dependent on the
> class CurrentAssignment, so if I only include the .h file it wont
> compile. Both the plug and app need the class.
>
> I am a pretty good programmer, but I am afraid that this is beyond me.
> I would appreciate any insight that you may have.
>
> Thanks,
> Jon
>
One solution:
The common classes to both plug-in and main application should be moved
away in a new framework
Link both plug-in and application against the newly created framework
Install the framework in a place where both plug-in and application are
able to find it (Library/Frameworks is ok)


Pascal Pochet
P3 Consulting
http://www.p3-consulting.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Cocoa/run sudo
  • Next by Date: Painting into a NSImage / Combining two NSImage objects
  • Previous by thread: Re: plug-in problem
  • Next by thread: Re: plug-in problem
  • Index(es):
    • Date
    • Thread