I found this viper template generator. I inhaled everything but now I faced with an permission issue.
When I try to execute swift template generate MyModule --use viper-module
command I got this:
error: unable to invoke subcommand: /Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/swift-template (Permission denied)
Before this error I got another one:
error: unable to invoke subcommand: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-template (No such file or directory)
Not sure if I am on a right way but I just copied swift-template folder into the path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
I found this one work for VIPER Template in Swift 5.
https://github.com/zafarivaev/VIPER-Template
How To Install
~/Library/Developer/Xcode/Templates/
. If 3. Templates folder doesn't exist, create itUse