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

相关推荐
飞Link22 分钟前
告别复杂调参:Prophet 加法模型深度解析与实战
开发语言·python·数据挖掘
zh_xuan41 分钟前
测试go语言函数和结构体
开发语言·golang
小龙报1 小时前
【算法通关指南:算法基础篇】二分算法: 1.A-B 数对 2.烦恼的高考志愿
c语言·开发语言·数据结构·c++·vscode·算法·二分
yong99901 小时前
NNDA、PDA、JPDA、IMM数据关联算法MATLAB实现
开发语言·算法·matlab
Shining05961 小时前
Triton & 九齿系列《Triton 练气术》
开发语言·人工智能·python·学习·其他·infinitensor
天远Date Lab1 小时前
天远企业司法认证API实战:Python构建企业级供应链合规审查防火墙
大数据·开发语言·网络·python
蓝天智能1 小时前
QT实战:Qt6 编码规范模板
开发语言·qt
水痕012 小时前
go语言里面使用elasticsearch
开发语言·elasticsearch·golang
小邓的技术笔记2 小时前
C# 异步编程深水区:Task、ValueTask、线程池饥饿与背压设计
开发语言·c#
马士兵教育2 小时前
AI大模型的未来职业发展方向!
开发语言·人工智能·面试·职场和发展