Oscar Franco

C++ and XCode notes

Aug 2023

Random notes I go making as I get to compile C++ with XCode

Header paths

Xcode settings show two different path variables for headers:

  • User Header Search Paths are the paths searched when you use #include "..."
  • Header Search Paths are the paths searched when you use #include <...>

The option Always Search User Paths will force #include <...> to search in the User Header Search Paths.