当前位置:网站首页>cocoapod中的第三方库怎么引用本地头文件
cocoapod中的第三方库怎么引用本地头文件
2022-06-28 05:45:00 【沐梓弦乐】
项目原因,第三方库需要引用c++头文件。只好把引用头文件的.m改成了.mm 如下图所示

引用的头文件如下
三方库引用头文件是不能直接引用 ,直接引用会报错。引用方法如下
如图 在Build Setting输入header查找,然后在User Header Search Paths中添加需要导入的本地文件路径

之后再在需要导入本地文件的三方库文件中导入本地文件的头文件。至此大工告成。
本不打算写这一篇Blog的,因为这个操作前两年做了无数次,今年突然忘记了。于是博文记录于此。
边栏推荐
- [C language practice - printing hollow square and its deformation]
- Install fmpefg
- MR-WordCount
- RL 实践(0)—— 及第平台辛丑年冬赛季【Rule-based policy】
- 数据中台:六问数据中台
- Data middle office: construction ideas and implementation experience of data governance
- 开发者的时代红利在哪里?
- Typescript interface
- ES9023音频解码芯片的工作原理
- [Linux] - using xshell to install MySQL on Linux and realize the deployment of webapp
猜你喜欢

Capacity scheduling absolute value configuration queue usage and pit avoidance

Filecoin hacker song developer competition

sklearn 特征工程(总结)

基于Kotlin+JetPack实现的MVVM框架的示例

jsp连接Oracle实现登录注册

Interpretation of cloud native microservice technology trend

codeforces每日5题(均1700)

深度學習19種損失函數

Windows环境Redis使用AOF持久化,无法生成AOF文件,生成后无法加载AOF文件内容

容量调度绝对值配置队列使用与避坑
随机推荐
Lenovo hybrid cloud Lenovo xcloud, new enterprise IT service portal
jsp连接Oracle实现登录注册
Filecoin hacker song developer competition
CSCI GA scheduling design
FB、WhatsApp群发消息在2022年到底有多热门?
指定默认参数值 仍报错:error: the following arguments are required:
codeforces每日5题(均1700)
小球弹弹乐
数据中台:数据治理的七把利剑
V4L2 驱动层分析
关系数据库与文档数据库对比
Data warehouse: DWS layer design principle
ipvs 导致syn 重传问题
jq图片放大器
2022年全国职业院校技能大赛“网络安全”竞赛试题官方答案
数据中台:一篇带你深入浅出了解数据中台
Detailed usage configuration of the shutter textbutton, overview of the shutter buttonstyle style and Practice
[CAD drawing Video] AutoCAD 2014 master's way
数据仓库:DWS层设计原则
jsp连接oracle实现登录注册(简单)