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。。。

相关推荐
不吃香菜学java6 小时前
Redis的java客户端
java·开发语言·spring boot·redis·缓存
贵沫末7 小时前
python——打包自己的库并安装
开发语言·windows·python
文祐7 小时前
C++类之虚函数表及其内存布局(一个子类继承一个父类)
开发语言·c++
zuowei28898 小时前
华为网络设备配置文件备份与恢复(上传、下载、导出,导入)
开发语言·华为·php
xiaohe078 小时前
超详细 Python 爬虫指南
开发语言·爬虫·python
嗑嗑嗑瓜子的猫8 小时前
Java!它值得!
java·开发语言
xiaoshuaishuai89 小时前
C# GPU算力与管理
开发语言·windows·c#
lsx2024069 小时前
SVN 创建版本库
开发语言
xiaotao1319 小时前
01-编程基础与数学基石:Python错误与异常处理
开发语言·人工智能·python
皮卡蛋炒饭.10 小时前
线程的概念和控制
java·开发语言·jvm