本文主要是介绍Swift OC混编冲突方法探索,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.The following Swift pods cannot yet be integrated as static libraries:
The Swift pod *** depends upon,which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers!
globally in your Podfile, or specify :modular_headers => true
for particular dependencies.
解决:
podfile 添加use_modular_headers!
或者use_frameworks!
或者部分添加:modular_headers => true
2.The 'Pods-TaiLife' target has transitive dependencies that include statically linked binaries:
解决:podfile 添加
pre_install do |installer|
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end
emm,pod install后报红,***h' file not found。。。
这篇关于Swift OC混编冲突方法探索的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!