| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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.
| References: | |
| >Circular confusion with Cocoa bundles (From: Mark Dalrymple <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.