Hi there at the moment when I try to use SwiftPlate it fails to download the repo, correct me if I'm doing anything wrong. If you need further info more than happy to help. Just a heads up I normally use gitKrakken client but also have the git client installed, if it's a case of installing git via brew and making sure it's up-to-date I will proceed and feedback.
Welcome to the SwiftPlate project generator π£
π¦ Where would you like to generate a project? (Leave empty to use current directory)
/Users/xxxxx/Documents/Personal Development
π What's the name of your project?
Test
πΆ What's your name?
xxxxx xxxxx
π« What's your email address (for Podspec)? You may leave this empty.
π Any GitHub URL that you'll be hosting this project at (for Podspec)? You may leave this empty.
SwiftPlate will now generate a project with the following parameters:
π¦ Destination: /Users/xxxxx/Documents/Personal Development
π Name: Test
πΆ Author: xxxxxx xxxxxxx
Proceed? β (Y/N)
Y
π Starting to generate project Test...
π Removing any previous temporary folder...
β Done
π Making temporary folder (/Users/xxxxx/Documents/Personal Development/swiftplate_temp)...
β Done
π Making a local clone of the SwiftPlate repo...
Too many arguments.
usage: git clone [] [--] []
-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive initialize submodules in the clone
--recurse-submodules initialize submodules in the clone
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--single-branch clone only one branch, HEAD or --branch
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
β Done
π Copying template folder...
An error was encountered π
Error: Error Domain=NSCocoaErrorDomain Code=260 "The folder βTemplateβ doesnβt exist." UserInfo={NSFilePath=/Users/xxxxx/Documents/Personal Development//swiftplate_temp/SwiftPlate/Template, NSUserStringVariant=(
Folder
), NSUnderlyingError=0x100905080 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
Program ended with exit code: 0
Hi there at the moment when I try to use SwiftPlate it fails to download the repo, correct me if I'm doing anything wrong. If you need further info more than happy to help. Just a heads up I normally use gitKrakken client but also have the git client installed, if it's a case of installing git via brew and making sure it's up-to-date I will proceed and feedback.
Thanks!
git version 2.8.4 (Apple Git-73)
DEBUG:
INPUT: