什么是Xcode 4.3中的标头搜索路径?如何使用它? [英] What is Header Search Path in Xcode 4.3? How to use it?

查看:174
本文介绍了什么是Xcode 4.3中的标头搜索路径?如何使用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的新项目中添加一个现有项目。我添加了如果使用添加文件到项目。
当我要在我的新中导入它的 .h 文件时.h 文件。它说找不到文件。
我试图在搜索路径的标题搜索路径中添加路径文件路径。但我不知道如何。

I want to add one existing project into my new project. I have added if using "Add files to "Project". When I'm going to import it's .h file in my new .h file. It say file not found. I have tried to add Path for Header file in Header Search Path in Search Path. But I don't know how.


  • 我必须在页眉搜索路径中添加哪个路径?

  • 什么是页眉搜索路径中的递归?

推荐答案

假设你已经包含了第三方库或文件说JSONKit,其路径在外面项目文件夹已添加到您的项目中,然后您必须在标题搜索路径中指定该特定文件夹路径,否则您将收到错误。下面是一个示例

Suppose u have included a third party library or files say "JSONKit" whose path is outside the project folder and have added in your project then you have to specify that particular folder path in your header search path,else you will get an error.below is an example of it

这篇关于什么是Xcode 4.3中的标头搜索路径?如何使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆