我正在制作一个简单的、快捷的应用程序,它链接了obj-c cocoapod依赖SFRoundProgressCounterView。我的Podfile包含use_frameworks!
。在安装了吊舱并构建了项目之后,我得到了两个错误:
SFCounterLabel.h:12:9:“TTTAttributedLabel.h”文件未找到 无法构建目标-C模块'SFRoundProgressCounterView‘
我检查了作为SFRoundProgressCounterView导入TTTAttributedLabel的一部分的SFarriLabel.h:
#import "TTTAttributedLabel.h"
我尝试使用MyProjectName-桥接-Header.h和#import "TTTAttributedLabel.h“,但没有理由。
我的Cocoapods版本是0.39.0。
我应该怎么做才能正确地将SFRoundProgressCounterView链接到我的快速项目?
发布于 2015-12-01 22:38:06
在SFCounterLabel.h中,SFRoundProgressCounterView需要使用支持框架的导入语法。#import <TTTAttributedLabel/TTTattributedLabel.h>
或@import TTTAttributedLabel.TTTAttributedLabel;
https://stackoverflow.com/questions/34029718
复制相似问题