最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

[已解决]Xcode编译项目出错:AFNetworking/AFNetworking.h file not found

Xcode crifan 2190浏览 0评论

出错:

/Users/crifan/dev/dev_root/daryun/xxx/Constant/INQImportHeaders.h

中导入了:

//
//  INQImportHeaders.h
//  INQuzhou
//
//  Created by 叶帆 on 16/3/31.
//  Copyright © 2016 Suzhou Coryphaei Information&Technology Co., Ltd. All rights reserved.
//
#ifndef INQImportHeaders_h
#define INQImportHeaders_h
#import "INQConstant.h"
#import "INQNetworkAPIManager.h"
#import <AFNetworking/AFNetworking.h>
#import <SDWebImage/SDWebImageManager.h>
#import <UMengAnalytics/MobClick.h>
#endif /* INQImportHeaders_h */

结果出错:

INQImportHeaders.h:16:9: ‘AFNetworking/AFNetworking.h’ file not found

如图:

搜:

AFNetworking/AFNetworking.h file not found

iOS开发中遇到的问题及解决方法 – forunix – 博客园

xcode文件找不到---“AFNetworking.h”file not found – Colin_smile的专栏 – 博客频道 – CSDN.NET

“AFNetworking.h” file not found 问题的解决 – 将来的你的个人空间 – 开源中国社区

AFNetworking headers not found (XCode5 + cocoapods)? · Issue #1432 · AFNetworking/AFNetworking

AFNetworking.h file not found · Issue #3125 · AFNetworking/AFNetworking

ios – "AFNetworking.h" file not found in .pch file – Stack Overflow

然后去试试pod install –verbose –no-repo-update:

结果出错:

[已解决]Mac中尝试安装pod结果出错:-bash: pod: command not found

转载请注明:在路上 » [已解决]Xcode编译项目出错:AFNetworking/AFNetworking.h file not found

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
65 queries in 0.112 seconds, using 18.87MB memory