[!] The 'Pods-xxx' target has transitive dependencies that include statically linked binaries: (/Users/lz/Downloads/project/D&P patient/Pods/TXLiteAVSDK_TRTC/TXLiteAVSDK_TRTC/TXLiteAVSDK_TRTC.framework)
分析:
- 在podfile中,引入swift库之前,需要加入use_frameworks!导致
解决方案:
在podfile中加入下面的代码:
pre_install do |installer|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end