swift项目,当我调用友盟分享类时,编译报错:ld: Undefined symbols
Oo*
发布于 3 年前
11677来自北京社会化分享 U-Share
API调用
1.cocoapods集成:

2.桥接文件引用:

3.appdelegate初始化(没有问题):

4.shareView试图调用分享:

5.编译报错(第4步代码注释编译正常):
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found ld: Undefined symbols:
_OBJC_CLASS_$_UMShareWebpageObject, referenced from:
in ShareView o
_OBJC_CLASS_$ _UMSocialManager, referenced from:
in ShareView.o
_OBJC_CLASS_$_UMSocialMessageObject, referenced from:
in ShareView.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
