iOS开发,关于友盟分享,集成的时候遇到个问题。
「已注销」 2016-05-05 11:48:12 在准备给项目添加分享功能前,我专门建了个工程来研究友盟分享,参照官方文档,成功的分享到了微信,但是,当我集成到现有的项目中时,编译报错,这个是13年的老项目了。我是使用cocoapod导入友盟分享的
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_UMSocialSinaSSOHandler", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_UMSocialQQHandler", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_UMSocialWechatHandler", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_UMSocialData", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)