大佬教程收集整理的这篇文章主要介绍了ios – CocaPods导入AFNetworking但不导入OHAttributedLabel,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
Podfile
platform :ios,'6.0' pod 'AFNetworking' pod 'OHAttributedLabel'
安装两个库后,导入时
#import "AFhttpClient.h" #import "AFJSONrequestOperation.h" #import "UIImageView+AFNetworking.h"
我没有得到任何错误,一切正常
但是当我试图导入时
#import <OHAttributedLabel/OHAttributedLabel.h> #import <OHAttributedLabel/NSAttributedString+Attributes.h> #import <OHAttributedLabel/OHASBasicMarkupParser.h>
我正进入(状态
找不到’OHAttributedLabel / OHAttributedLabel.h’文件
pod安装输出
Resolving dependencies of `./Podfile' updating spec repositories Cocoapods 0.17.0.rc7 is available. Resolving dependencies for target `default' (iOS 6.0) Downloading dependencies Using AFNetworking (1.1.0) Installing OHAttributedLabel (3.4.1) Generating support files
建议说
我不知道在哪里添加这个.这就是我的配置的样子
编辑
以上是大佬教程为你收集整理的ios – CocaPods导入AFNetworking但不导入OHAttributedLabel全部内容,希望文章能够帮你解决ios – CocaPods导入AFNetworking但不导入OHAttributedLabel所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。