grabKit icon indicating copy to clipboard operation
grabKit copied to clipboard

Linker Errors

Open romfeo opened this issue 11 years ago • 1 comments

I get the following linker error when I add [GRKConfiguration initializeWithConfiguratorClassName:@"myGrabKitConfigurator"]; in my AppDelegate, in the AppDelegate:didFinishLaunching: method. I have already copied myGrabKitConfigurator files to my project.

Undefined symbols for architecture i386: "OBJC_CLASS$_GRKConfiguration", referenced from: objc-class-ref in AppDelegate.o

I also get the following linker error when I add

  • (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {

    BOOL urlHasBeenHandledByDispatcher = [[GRKConnectorsDispatcher sharedInstance] dispatchURLToConnectingServiceConnector:url];

    if ( urlHasBeenHandledByDispatcher ) return YES;

    // If you have specific URL schemes to handle for you application, // the GRKConnectorDispatcher won't handle the URL. // Then, you can handle here your own URL schemes.

    return NO; }

to my AppDelegate.

Linker Error "OBJC_CLASS$_GRKConnectorsDispatcher", referenced from: objc-class-ref in AppDelegate.o

romfeo avatar Nov 17 '13 19:11 romfeo

Not sure if this issue is still open; for your target, make sure that you added GrabKitLib.a to "Link Binary with Libraries" under Build Phases.

pei-neofonie avatar Jan 17 '14 08:01 pei-neofonie