Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plug-in problem



> 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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.