我已經從https://github.com/ResultsDirect/LinkedIn-iPhone下載源代碼。演示工作正常,並嘗試在我的應用程序中使用。嘗試將LinkedIn應用於iPhone應用
我跟隨無論在post這裏需要作爲提及都已經步驟...
但我得到的錯誤
"_OBJC_CLASS_$_RDLinkedInEngine", referenced from:
"_OBJC_CLASS_$_RDLinkedInAuthorizationController", referenced from:
當我評論RDLinkedInEngine的線和RDLinkedInAuthorizationController然後錯誤被刪除
- (void)loadView {
[super loadView];
// rdEngine = [[RDLinkedInEngine engineWithConsumerKey:kOAuthConsumerKey consumerSecret:kOAuthConsumerSecret delegate:self] retain];
}
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
// if(!rdHasAppeared) {
// UIViewController* controller = [RDLinkedInAuthorizationController authorizationControllerWithEngine:rdEngine delegate:self];
// if(controller) {
// [self presentModalViewController:controller animated:YES];
// rdHasAppeared = YES;
// }
// else {
// NSLog(@"Already authenticated");
// }
// }
}
我的應用程序我已經集成MGTwitterEngine從源https://github.com/bengottlieb/Twitter-OAuth-iPhone這是很好的選擇。
阿米特Battan
@mihir謝謝,你能告訴我如何 – 2011-03-10 06:44:29
我錯過了點... ...'4 - 選擇「LinkedInClientLibrary.xcodeproj」,你在右側市場複選框「LinkedInClientLibrary.a」 '....那個錯誤沒問題..但是新的錯誤發生了'Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2失敗,退出代碼1' – 2011-03-10 06:48:52
你需要右鍵點擊錯誤並選擇打開這些最新結果作爲腳本文本文件,看看是什麼導致該錯誤....發佈它在這裏以及 – 2011-03-10 06:53:22