libgit2/objective-git — Issue #47: Can't get integrated with iOS & Xcode 4.2
Author: mattdelliott
Created: 2011-10-17 17:11:47+00:00
State: open

I have followed all of the steps in the documentation. I still can't seem to get this project to work.

Here are the steps I've followed:

1. Dragged the ObjectiveGitFramework.xcodeproj file to the Navigator of my Project (I know the documentation says to drag ObjectiveGit.xcodeproj, but there isn't one)

2. Added "ObjectiveGit-iOS" as a Target Dependencies

3. Added "ObjectiveGit" to Link Binary With Libraries

I'm creating a GitHelper File that does tasks throughout my application. So I've put #import in the header file of the helper.

Two Issues:

When Archiving I get:

In my project: Lexical or Preprocessor Error "ObjectiveGit/ObjectiveGit.h" file not found

libgit2-ios: blob.c Lexical or Preprocessor Error "git2/common.h" file not found
*I also get that same git2/common.h file not found error on common.h and commit.c

I have tried numerous things and can't seem to get this thing to work when archiving.

What am I doing wrong?

Thanks

Matt