-
Notifications
You must be signed in to change notification settings - Fork 1
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
git2 framework+module #1
Conversation
Projects trying to use ObjectiveGit without enabling What's odd about this setting is that once you have a clean build after it is enabled, these errors will not come back until you:
|
I suspect the "non-modular header errors" were only showing up in Swift apps because Swift must use modules to import symbols, whereas Objective-C |
This is defined automatically by the libgit2 cmake build if libssh2 is found
# Conflicts: # ObjectiveGitFramework.xcodeproj/project.pbxproj
This work has been moved to libgit2#570 |
This is an experiment to see if creating a true module resolves the following issues:
While it is possible to turn the libgit2 static library into a module, the result is an extra file that must be placed correctly alongside the header files. Wrapping all these up in a framework simplifies things for client projects.