解决iOS友盟库更新后UMCAnalytics、UMCCommon符号冲突
source link: https://www.liesauer.net/blog/post/resolve-duplicate-symbols-issue-of-latest-UMCAnalytics-and-UMCCommon.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
解决iOS友盟库更新后UMCAnalytics、UMCCommon符号冲突
客户反映APP在升级到iOS 14.0
之后闪退,本想着调试的,一不小心运行了pod update
将库都升级了,而UMCAnalytics
和UMCCommon
恰好都没有写版本限制,导致升级到了最新版本UMCAnalytics6.1.0
、UMCCommon7.1.1
,编译后报错,符号冲突。
通过对比上一版本的Podfile
,将UMCAnalytics
、UMCCommon
进行降级处理。
编辑Podfile
pod 'UMCCommon', '2.1.1'
pod 'UMCAnalytics', '6.0.5'
并重新pod install
即可。
标签: none
仅有一条评论
-
Lee
其实是UMCCommon最新的版本已经包含了UMCAnalytics,把UMCAnalytics删除,import的头文件修改一下就可以了
添加新评论
称呼
当有人回复时接收邮件提醒
网站
内容
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK