Sourcery
Sourcery copied to clipboard
SPM Installation, Sourcery Pro clarification
Hey folks,
I am installing Sourcery via SPM, and wondered which boxes I should check. I am on Xcode using native Swift.
Also, I am curious about the difference between this package and Sourcery Pro.
If you want to use SPM Plugin then it's .package(url: "https://github.com/krzysztofzablocki/Sourcery.git", from: "2.0.2"), this integration that you posted is for Framework use not normal CLI, for that you'd need one of the other install methods.
Sourcery Pro is Xcode Extension + powerful stencil editor so it can be used to write your own custom templates for Sourcery CLI but also one-off scenarios that CLI integration is not suited for, you can see more here
Thanks for your reply.
I've tried the github link you provided, but with the same result.
My primary use case would be to create mock data and stubs.
not what I meant, plugins are for use inside the SPM Package.swift definition not regular package project dependency like you are trying. You should install sourcery using one of this methods