Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I build ObjectiveGit.framework containing all dependencies? #701

Open
marcuswestin opened this issue Dec 5, 2019 · 2 comments
Open

Comments

@marcuswestin
Copy link

Thanks so much for this project! I hope this is a trivial thing to answer - any help would be super appreciated.

How do I build ObjetiveGit.framework with all dependencies included (equivalent to Carthage/Build/Mac/ObjectiveGit.framework)?

I have a fork with changes to run on macOS Cataline/Xcode 11, and have tried everything I can think of:

  • carthage build
  • script/cibuild
  • Xcode archive

and more.

Anyone know what to run and where to look for the output?

Thanks!

@marcuswestin
Copy link
Author

The motivation for the fork may be relevant: the most recent release does not work in Catalina/XCode11:

Using latest release:

# Cartfile:
github "libgit2/objective-git"
# Build works:
Carthage update
# After including framework in Xcode, build works but get runtime error:
> dyld:
  Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
  Referenced from: ...
  Reason: image not found

Using master:

# Cartfile:
github "libgit2/objective-git" "master"
# Build fails on Catalina/Xcode 11:
carthage update

Screen Shot 2019-12-05 at 4 08 22 PM

@marcuswestin
Copy link
Author

I eventually got this working! See #699 for some of the issues and eventual solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant