11

解决iOS友盟库更新后UMCAnalytics、UMCCommon符号冲突

 3 years ago
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.
neoserver,ios ssh client

解决iOS友盟库更新后UMCAnalytics、UMCCommon符号冲突

客户反映APP在升级到iOS 14.0之后闪退,本想着调试的,一不小心运行了pod update将库都升级了,而UMCAnalyticsUMCCommon恰好都没有写版本限制,导致升级到了最新版本UMCAnalytics6.1.0UMCCommon7.1.1,编译后报错,符号冲突。

通过对比上一版本的Podfile,将UMCAnalyticsUMCCommon进行降级处理。

编辑Podfile

  1. pod 'UMCCommon', '2.1.1'
  2. pod 'UMCAnalytics', '6.0.5'

并重新pod install即可。

标签: none

仅有一条评论

  1. Lee

    其实是UMCCommon最新的版本已经包含了UMCAnalytics,把UMCAnalytics删除,import的头文件修改一下就可以了

添加新评论

称呼

Email

当有人回复时接收邮件提醒

网站

内容


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK