Search path problem with XCode 9.4.1

Hello

I have a project with includes files in other folders than my project folder. I need to know how to indicate to Xcode where to search the includes. For exemple I have this in my code #include <glibconfig.h>

And I know than this file is located in "/opt/local/include/glib-2.0/glib"

How can I set XCode so it will look in this directory to find the glibconfig.h file.

Thank to help

Xcode has a Search Paths collection of build settings where you can add search paths for headers and libraries.

Select the project file from the project navigator on the left side of the project window to open the project editor. Select the project from the left side of the project editor. Click the Build Settings button on the top of the project editor to access the build settings. Entering Search Paths in the search field will show the Search Paths collection.

Search path problem with XCode 9.4.1
 
 
Q