File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ project. An example of this is the
35351 . Add a new "Copy Files" build phase, set the destination to "Frameworks" and
3636 add ` ObjectiveGit.framework ` to that. This will package the framework with
3737 your application as an embedded private framework.
38+ 1 . Set the “Header Search Paths” (` HEADER_SEARCH_PATHS ` ) build setting to the
39+ correct path for the libgit2 headers in your project. For example, if you
40+ added the submodule to your project as ` External/ObjectiveGit ` , you would
41+ set this build setting to ` External/ObjectiveGit/External/libgit2/include ` .
42+ If you see build errors saying that ` git2/filter.h ` cannot be found, then
43+ double-check that you set this setting correctly.
38441 . Don't forget to ` #import <ObjectiveGit/ObjectiveGit.h> ` as you would with any
3945 other framework.
4046
You can’t perform that action at this time.
0 commit comments