Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7833767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:53:02+00:00 2026-06-02T12:53:02+00:00

When opening the ObjectieGitFramework.xcodeproj file I can now build the iOS scheme successfully. A

  • 0

When opening the ObjectieGitFramework.xcodeproj file I can now build the iOS scheme successfully. A whole lot of experimenting was required though. Lets start from the beginning – how I did that.

What I did:

First I cloned a fork of ObjectiveGit.

git clone git@github.com:Eonil/objective-git.git --recurse-submodules
cd objective-git
cd ./Scripts/libgit2-make-ios/; sh ./download-make-clean-deploy.sh "./../../libgit2.a"; cd ../..

Src: https://github.com/libgit2/objective-git/pull/54

Opening the project and building now results in one error and one warning. I let Xcode automatically update the project settings to solve the warning.
Errors

Now I go to the libgit2 directory and build using cmake:

$ mkdir build && cd build
$ cmake ..
$ cmake --build .

Src: https://github.com/libgit2/libgit2

This result, among other things, in the libgit2.0.15.0.dylib file being created.
Image of the file in finder

I drag it into the Xcode and add it to ObjectiveGit and the iOS target. Now I go to the build phases tab for ObjectiveGit-iOS and make it look like this:

enter image description here

The problem

At this moment I could build the project, and I could create classes within it successfully using the ObjectiveGit. However when I dragged the project inside another project, added ObjectiveGit-iOS as a target dependence and added libObjectiveGit-iOS.a in link binary with libraries I couldn’t import ObjectiveGit/ObjectiveGit.h plus I was getting some other weird errors (see images below). I know very little about libraries in xcode so I don’t know at all why this is not working.

enter image description here
enter image description here

Now, this is an error I got once but not anymore. I don’t know what I was doing to cause it.
enter image description here

Update

 $(SRCROOT)/frameworks/ObjectiveGit/Classes
 $(SRCROOT)/frameworks/ObjectiveGit/libgit2/include
 $(SRCROOT)/frameworks/ObjectiveGit/Classes/Categories

When adding this to header search path something strange happens. It result in no files not being found, but 70 other Mach-o errors instead.

“`

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T12:53:08+00:00Added an answer on June 2, 2026 at 12:53 pm

    Dynamic Libraries are not supported by iOS. You have to use static libraries.

    To be clear: Of course iOS supports dynamic libraries, but only these which are distributed by apple.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm opening a text file which can hold anywhere between 100 and 50,000 dataFrames,
After opening a file for writing: FILE *file = fopen(./file, w); Can I assume
Opening an XML file in Internet explorer gives a security warning. IE has a
Opening an application( probably an .exe file) as an administrator in headless mode from
In opening up the .xap file that is generated as output from a Silverlight
When opening a file from your hard drive into your browser, where is the
While opening any MS Access database, a security warning appears saying that the file
After opening a file created by root in vim , how to change the
is opening a large file once reading it completely once to list faster (or)
I'm opening a text file and removing the first line to prepare it for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.