OBJC_CLASS$_UMSLEnvelopeBuild
友盟更新后问题:
Undefined symbols for architecture arm64:
“OBJC_CLASS$_UMSLEnvelopeBuild”, referenced from:
objc-class-ref in UMShare(UMCommonStatisticsManager.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
运行报错
报错原因:
UMCCommon 7.2.2以及更高版本升级后引发问题
修复方法:
7.2.2以及更高版本后需要删除UMAnalytics.framework,删除后运行错误就会消失。因为UMCCommon.framework中会带有UMAnalytics不需要再次引入。