我正在使用CocoaPods添加两个框架.
target 'TestGoogleLib' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for TestGoogleLib
pod 'GoogleMobileVision'
pod 'GoogleSignIn'
end
Run Code Online (Sandbox Code Playgroud)
但是当我跑 - 我得到重复的错误.似乎两个框架都使用相同的文件.
我的Pod版本是1.5.3
duplicate symbol _OBJC_IVAR_$_MDMPasscodeCache._localAuthenticationInfo in:
ld: 13 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
如何使用CocoaPods安装两个没有冲突---我删除了所有冲突日志 - 如果需要,我可以添加它们.