JohnSundell / SwiftPlate

Easily generate cross platform Swift framework projects from the command line
MIT License
1.77k stars 88 forks source link

Error when using `--repo`option #62

Open ajacquelin opened 6 years ago

ajacquelin commented 6 years ago

I have this error when trying to do swiftplate -r ./swiftplate:

πŸš€  Starting to generate project Test...
πŸ‘‰  Removing any previous temporary folder...
βœ…  Done
πŸ‘‰  Making temporary folder (Test/swiftplate_temp)...
βœ…  Done
πŸ‘‰  Making a local clone of the SwiftPlate repo...
βœ…  Done
πŸ‘‰  Copying template folder...
An error was encountered πŸ™
Error: Error Domain=NSCocoaErrorDomain Code=260 "The folder β€œTemplate” doesn’t exist." UserInfo={NSFilePath=Test/swiftplate_temp/SwiftPlate/Template, NSUserStringVariant=(
    Folder
), NSUnderlyingError=0x7f926940afa0 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}

Maybe I'm missing something ? πŸ€” It work well without the option -r