User Header Search Paths for Xcode

后端 未结 4 1626
余生分开走
余生分开走 2021-02-02 10:22

I have two paths that I want Xcode to search for headers:

\"/myproject/lib1/include\"
\"/myproject/lib2/include\"

What\'s th

4条回答
  •  生来不讨喜
    2021-02-02 11:07

    Suppose you want to use your project directory, then you should use:

    "$PROJECT_DIR" 
    

    Double quotes are advised if your project path has spaces.

    Enable recursive if you want to search within the folders as well. Alternatively, you can use "$(SRCROOT)"

提交回复
热议问题