Although Xcode 4 is advertised being aware of cross-project classes of projects in a shared workspace, I didn\'t find this working and did some research about the problem. The c
I had a similar issue and solved it by declaring a category on the class I wished included in the project. This forced the class to be loaded from the static library. There wasn't any actual methods defined in the class.
There are some other alternatives that are commonly bandied about like setting linker flags -ObjC and -all_load
** update in response to request for code.
I added a Group to the project named "Categories to force class loads" and, for example, to force the "SimpleAppStateManager" class to be included in this project (that was defined in the shared static library) added these 'empty' category files:
#import
#import "SimpleAppStateManager.h"
@interface SimpleAppStateManager (DART)
@end
#import "SimpleAppStateManager+DART.h"
@implementation SimpleAppStateManager (DART)
@end