[swift-users] Problems building with dependency

Swift Studies swiftstudies at icloud.com
Thu Mar 17 11:20:43 CDT 2016


I have a package I am building that I have introduced a dependency for, but swift build is failing. It looks like a git error: 

gbn-sstudies-mv:SmarkDown sstudies$ swift build
Cloning https://github.com/SwiftStudies/Duration.git
/usr/local/bin/git -C /Users/sstudies/Documents/Code/Swift/SPM/Packages/SmarkDown/Packages/Duration fetch --tags origin
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

error: exit(129): git -C /Users/sstudies/Documents/Code/Swift/SPM/Packages/SmarkDown/Packages/Duration fetch --tags origin

Is it a git version issue? git --version reveals 1.8.4 which is being picked up from /usr/local/bin/git

Please let me know if you need more information

-s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160317/9e08ddda/attachment.html>


More information about the swift-users mailing list