Circular confusion with Cocoa bundles
Circular confusion with Cocoa bundles
- Subject: Circular confusion with Cocoa bundles
- From: Mark Dalrymple <email@hidden>
- Date: Wed, 30 Jun 2004 19:38:17 -0400
Greetings,
I'm developing a Cocoa application that is plug-in driven. I have an
Objective-C class, BWTrackerPlugin, that provides some stuff (instance
variables, utility methods, and plugin API) common to all plugins, and
Individual plugins are composed of a class that inherit from this
class. Each plugin is a "Cocoa Bundle" target in the same Xcode
project as the main app.
If I don't include BWTrackerPlugin.m in the plugin target, I get this
build error:
ld: Undefined symbols:
.objc_class_name_BWTrackerPlugin
If I do include BWTrackerPlugin.m in the plugin target, I get this
runtime warning:
objc: Both (application) and (plugin) have implementations of class
BWTrackerPlugin.
objc: Using implementation from (plugin)
I know I'm missing something Obvious, but I don't see an Obvious Xcode
switch which would let me link the plugin without needing the
superclass file.
Thanks for your time,
++Mark Dalrymple, email@hidden
http://borkware.com
_______________________________________________
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.