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

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

之后再在需要导入本地文件的三方库文件中导入本地文件的头文件。至此大工告成。
本不打算写这一篇Blog的,因为这个操作前两年做了无数次,今年突然忘记了。于是博文记录于此。
边栏推荐
- 预训练模型参数不匹配
- Valueerror: iterative over raw text documents expected, string object received
- Jenkins continuous integration 1
- bash install.sh ********错误
- 安装 Ffmpefg
- Maskrcnn, fast RCNN, fast RCNN excellent video
- ERP软件公司选型的重要根据
- To batch add background pictures and color changing effects to videos
- Relevant implementation records of CSI and local disk
- What is webrtc?
猜你喜欢

Shutter nestedscrollview sliding folding head pull-down refresh effect

jsp连接Oracle实现登录注册
![[Linux] - using xshell to install MySQL on Linux and realize the deployment of webapp](/img/07/e044a6ef14a6576dbee1c6a009ab4f.png)
[Linux] - using xshell to install MySQL on Linux and realize the deployment of webapp

Oracle基础知识总结

YYGH-BUG-02

函数栈帧的创建和销毁

JSP connecting Oracle to realize login and registration

原动力×云原生正发声 降本增效大讲堂

Line animation

深度学习19种损失函数
随机推荐
Data middle office: construction ideas and implementation experience of data governance
Important basis for ERP software company selection
中小型水库大坝安全自动监测系统解决方案
Office is being updated and the application cannot start normally
全球国家(和地区)信息JSON数据
马赛克数据增强 mosaic
JSP
V4l2 driver layer analysis
数据中台:数据治理的建设思路以及落地经验
The windows environment redis uses AOF persistence and cannot generate an AOF file. After generation, the content of the AOF file cannot be loaded
Official answers to the "network security" competition questions of the 2022 national vocational college skills competition
2022年全国职业院校技能大赛“网络安全”竞赛试题官方答案
qtcanpool 知 05:无边框
Maskrcnn,fast rcnn, faster rcnn优秀视频
上海域格ASR CAT1 4g模块2路保活低功耗4G应用
Yin Yang master page
独立站卖家都在用的五大电子邮件营销技巧,你知道吗?
5GgNB和ng-eNB的主要功能
@Autowired注解为空的原因
sklearn 特征工程(总结)