Download latest release with prebuilt binary from release tab. Unzip the archive into desired destination and run
Add pod ‘Sourcery’ to your Podfile and run
pod update Sourcery. This will download latest release binary and will put it to your project’s CocoaPods path so you will run it with
Building from source
Download latest release source code from release tab or clone the repository an build Sourcery manually.
Building with Swift Package Manager
swift build -c releasein the root folder. This will create a
.build/releasefolder and will put binary there. Move the whole
.build/releasefolder to your desired destination and run with
JS templates are not supported when building with SPM yet.
Building with Xcode
Sourcery.xcworkspaceand build with
Sourcery-Releasescheme. This will create
Sourcery.appin the Derived Data folder. You can copy it to your desired destination and run with