使用cocoaPods import导入时没有提示的解决办法
2016-01-13 11:19
453 查看
CocoaPods中的头文件import导入时不能自动补齐的解决方法
下面是stackoverflow上的解决办法:
Go to the Target > \”Build Settings\” tab and find the \”User Header Search Paths\” setting.
Set this to \”$(BUILT_PRODUCTS_DIR)\” and check the \”Recursive\” check box.
Now the built target will search the workspace’s shared build directory to locate the linkable header files.
具体来说就是:
选择工程的 Target -> Build Settings 菜单,找到\”User Header Search Paths\”设置项
新增一个值"$(PODS_ROOT)",并且选择\”recursive\”,这样xcode就会在项目目录中递归搜索文件
自动补齐功能马上就好使了。
下面是stackoverflow上的解决办法:
Go to the Target > \”Build Settings\” tab and find the \”User Header Search Paths\” setting.
Set this to \”$(BUILT_PRODUCTS_DIR)\” and check the \”Recursive\” check box.
Now the built target will search the workspace’s shared build directory to locate the linkable header files.
具体来说就是:
选择工程的 Target -> Build Settings 菜单,找到\”User Header Search Paths\”设置项
新增一个值"$(PODS_ROOT)",并且选择\”recursive\”,这样xcode就会在项目目录中递归搜索文件
自动补齐功能马上就好使了。
相关文章推荐
- GBK和UTF8之间的转换 C语言
- 解决linux kernerl3.13 安装vmware10 vnet错误
- 选卡切换+侧滑
- QPixmap setpixmap 不显示图片
- 图片上传本地显示,多浏览器兼容
- 关于JavaScript中实现继承,及prototype属性
- java之并发
- IE6 IE7 IE8(Q) 不支持 JSON 对象
- 备忘录
- (转)获取设备唯一识别码和Mac地址
- spring的rabbitmq配置
- IT部门如何应对VDI问题
- 非ece文件安装和删除apache服务
- OLEDB对数据库的操作心得(二)将DataTable更新到数据源
- 反射是否真的会让你的程序性能降低
- 将jar包发布(deploy)到maven仓库
- 处理Json接收日期格式问题
- oracle中rownum和rowid的区别和用法
- K/3WISE和K3旗舰版插件解决方案
- Android 6.0中的新技术总结