Incompatible library version
错误描述:
Reason:Incompatible library version: XXA requires version 1.0.0 or later,
but XXB provides version 0.0.0
解决方案:
第一种解决方案:
修改 Pod 项目中 Build Setting 中 Compatibility Version 的值为空
Build Setting -> Compatibility Version
第二种解决方案:
添加下面的脚本内容到 Podfile 最后面 :
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DYLIB_COMPATIBILITY_VERSION'] = ''
end
end
end