2016-03-23 10 views
1

Ich versuche, Linkedin SDK zu verwenden in meinem iOS-Anwendung für die autorisierende, aber wenn ich es bauen bekam ich diese Fehlermeldung:Linkedin SDK Architektur Problem in schnellen

Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_LISDKCallbackHandler", referenced from: type metadata accessor for __ObjC.LISDKCallbackHandler in AppDelegate.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ich bin ein Überbrückungs Header mit dem ich ich habe ist die SDK raschen

#import <linkedin-sdk/LISDK.h> 

und in meinem AppDelegate importieren:

func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool { 


     FBSDKApplicationDelegate.sharedInstance().application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation) 

     if LISDKCallbackHandler.shouldHandleUrl(url) { 
      LISDKCallbackHandler.application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation) 
     } 

     return true 
    } 
+0

Charles Lima Bitte lesen Sie diese Antwort. http://stackoverflow.com/questions/34222196/how-to-import-linkedin-sdk-in-a-swift-project – user

Antwort