4

I'm working on a project where I need to bring in an outside library.

I found the library, and in order to make it a part of my project, my understanding is that I need to take the project provided (which includes the library I want) and then set the HEADER_SEARCH_PATHS to an appropriate value to be able to find the new library.

However whenever I try, I found that the "Source Trees" tab is missing from my XCode preferences pane. Does anybody have any idea why this might be? It feels very strange. Should I try downloading the program again?

4

2 回答 2

4

在 Xcode 4 和 Xcode 5 的首选项窗格下,您可以转到“位置”选项卡,然后从该选项卡上的分段控件中选择“源树”选项。

此外,如果您想为单个项目添加未共享的内容,您可以选择您的项目,然后选择“构建设置”选项卡并header search在顶部的过滤器/搜索框中搜索以找到项目的“标题搜索路径”环境。

于 2012-10-22T15:51:59.443 回答
0

它接缝Source Trees被重命名为Custom Paths

Xcode -> Preferences... -> Locations -> Custom Paths

在此处输入图像描述

于 2019-08-29T14:09:31.747 回答