iOS 关于UTDID冲突错误问题

集成 支付宝支付(AlipaySDK)、优酷播放器(YKMediaPlayerSDK)、友盟应用统计安全组件(UMCSecurityPlugins)

UIDID冲突错

duplicate symbol _OBJC_CLASS_$_AidManager in:
  / Pods/YKMediaPlayerSDK/ThirdLibrary/UTDID/UTDID.framework/UTDID(AidManager.o)
   /libSDK/AlipaySDK.framework/AlipaySDK
duplicate symbol _OBJC_CLASS_$_AidRequester in:
    /Pods/YKMediaPlayerSDK/ThirdLibrary/UTDID/UTDID.framework/UTDID(AidRequester.o)
    /libSDK/AlipaySDK.framework/AlipaySDK

解决方法:更换一个支付宝的SDK,换成没有UTDID的,AlipaySDK_No_UTDID

把现在的SDK更换一下就行,记得勾选 Copy items if needed

搞定!!!

你可能感兴趣的:(Objective-C,经验之谈)