问题描述
我已经从 https://github.com/ResultsDirect/LinkedIn-iPhone 下载了源代码. a>.演示工作正常,并尝试在我的应用程序中使用.
I have download the source from https://github.com/ResultsDirect/LinkedIn-iPhone . Demo working fine, and try to use in my application.
我已经按照 post 中的要求进行了所有步骤. ..
I have followed all the steps already whatever required as mention here in post ...
但是我遇到了错误
"_OBJC_CLASS_$_RDLinkedInEngine", referenced from:
"_OBJC_CLASS_$_RDLinkedInAuthorizationController", referenced from:
当我评论RDLinkedInEngine和RDLinkedInAuthorizationController的行时,错误将被消除
When I comment the lines of RDLinkedInEngine and RDLinkedInAuthorizationController then error are removed
- (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");
// }
// }
}
在我的应用程序中,我已经从来源 https://github.com/bengottlieb集成了MGTwitterEngine. /Twitter-OAuth-iPhone 可以.
I my application I have already integrated MGTwitterEngine from source https://github.com/bengottlieb/Twitter-OAuth-iPhone Which is wokring ok.
授予Battan
推荐答案
最有可能您需要添加一些静态库(.a文件)...或来自linkedIn源代码的src文件夹本身...
most probably you need to add some static library (.a file)... or src folder itself from linkedIn source...
这篇关于尝试将LinkedIn集成到iPhone应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!