CocoaPods更新出现file not found.
2016-11-23 16:16
204 查看
在我们从SVN上下载下来的项目, 或者 当CocoaPods版本更新的时候,去pod install / update 之后,编译项目经常会出现 一些第三方库
.h file not found 问题。 如下图
处理方式:
1. 检查一下 Build Phases - Link Binary With Libraries ,对应的静态库 有没有添加。
2. 在Build Settings下,搜索search ,找到Header Search Paths , 添加 $(SRCROOT) ,并选择 recursive ,如下图, 在编译看看成功没有。
3. 选择Xcode 上方, Product ->
Clean 一下。 如下图。
完成之后,在点 Product ,然后按住 option 键 ,会看到 Clean Build Foder..., 点击这个。如下图,然后在编译看是否成功了。
这点是在 stackoverflow 上看到的。
http://stackoverflow.com/questions/5198905/h-file-not-found
.h file not found 问题。 如下图
处理方式:
1. 检查一下 Build Phases - Link Binary With Libraries ,对应的静态库 有没有添加。
2. 在Build Settings下,搜索search ,找到Header Search Paths , 添加 $(SRCROOT) ,并选择 recursive ,如下图, 在编译看看成功没有。
3. 选择Xcode 上方, Product ->
Clean 一下。 如下图。
完成之后,在点 Product ,然后按住 option 键 ,会看到 Clean Build Foder..., 点击这个。如下图,然后在编译看是否成功了。
这点是在 stackoverflow 上看到的。
http://stackoverflow.com/questions/5198905/h-file-not-found
相关文章推荐
- 使用HttpURLConnection下载文件时出现 java.io.FileNotFoundException彻底解决办法
- XCode开发中,更新证书后出现“Valid signing identity not found”解决办法
- android开发中eclipse 按f3看出现class file not found
- 双系统启动Ubuntu的时候出现 error: file '/boot/grub/i386-pc/normal.mod' not found.grub rescue>
- 编译工程时出现异常“[Error] File not found: 'DIALOG.RES'”怎么解决
- UBUNTU下android安装更新包的问题(File not found:... android-sdk-linux_x86/temp (权限不够))
- 安装MDK4.7后编译出现Warning: L6373W: libattrs.map file not found in System Library directory
- android或者java 打开文件出现java.io.FileNotFoundException的解决方案
- 使用HttpURLConnection下载文件时出现 java.io.FileNotFoundException彻底解决办法
- Android开发中,使用线程下载apk文件,出现FileNotFound的问题,解决办法
- 性能测试出现FileNotFoundException: Too many open files的异常原因
- jetty 长时间运行之后出现 PWC6117 file not found
- new FileOutputStream(fileName)时出现 FileNotFoundException
- 使用Ant编译出现如下问题 java.io.FileNotFoundException: bin\classes.dex
- ocx调用dll时出现file not found的解决办法
- Mysql启动出现MySQL server PID file could not be found 错误
- win7用easybcd从硬盘安装ubuntu 11.10重启出现error 15 file not found错误
- 启动hive hwi服务时出现 HWI WAR file not found错误
- android使用apktool反编译出现Input file (d:\t) was not found or was not readable
- txt文件导入数据库,出现file not found错误。