-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Git.framework
is a high level wrapper for git
executable for macOS written in Swift. It works with installed git
and executes git commands by spawning new processes and using well made git
command design.
If git
executable is not installed in the system, Git.framework
won't work for you.
The goal of this project is to create a simple wrapper for command line utils that should help in calling git
from Swift
.
Initially Git.framework
was created to be used in local environment with no intention to go Appstore.
First of all, In MacOS when you submit an app to Appstore, you must turn on Application Sandbox feature. xcrun
can not run executables while Sandbox is active. This makes the usage of Git.framework
not suitable for Appstore. Only direct distribution by downloading a file from a website. Secondly, XPC Service may be required instead of using xcrun
for Appstore distribution. You may read more about XPC here.
If Appstore is your choice, you can try another options like Swift
bindings to libgit2
.