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

相关推荐
松涛和鸣13 分钟前
14、C 语言进阶:函数指针、typedef、二级指针、const 指针
c语言·开发语言·算法·排序算法·学习方法
智商低情商凑4 小时前
Go学习之 - Goroutines和channels
开发语言·学习·golang
半桶水专家4 小时前
Go 语言时间处理(time 包)详解
开发语言·后端·golang
编程点滴4 小时前
Go 重试机制终极指南:基于 go-retry 打造可靠容错系统
开发语言·后端·golang
实心儿儿5 小时前
C++ —— 模板进阶
开发语言·c++
萧鼎5 小时前
Python PyTesseract OCR :从基础到项目实战
开发语言·python·ocr
二川bro6 小时前
第57节:Three.js企业级应用架构
开发语言·javascript·架构
sali-tec6 小时前
C# 基于halcon的视觉工作流-章62 点云采样
开发语言·图像处理·人工智能·算法·计算机视觉
00后程序员张7 小时前
Swift 应用加密工具的全面方案,从源码混淆到 IPA 成品加固的多层安全实践
安全·ios·小程序·uni-app·ssh·iphone·swift
这人很懒没留下什么7 小时前
SpringBoot2.7.4整合Oauth2
开发语言·lua