It'd be nice if an arm64 or a universal binary is provided for the latest release.
Depends on your installation method:
Homebrew has been updated to 3.0.0 with support for Apple Silicon.
For me that's not working.
brew update
brew install swiftgen
Error: swiftgen: no bottle available!
You can try to install from source with:
brew install --build-from-source swiftgen
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
The Homebrew error is also mentioned in #811 and #820. Maybe these issues should be merged?
I confirm it works with Mint:
โ ~ mint install SwiftGen/SwiftGen
๐ฑ Finding latest version of SwiftGen
๐ฑ Cloning SwiftGen 6.4.0
๐ฑ Resolving package
๐ฑ Building package
๐ฑ Copying resources for SwiftGen: templates, Resources/Stencil-Info.plist, Resources/StencilSwiftKit-Info.plist, Resources/SwiftGen-Info.plist, Resources/SwiftGenKit-Info.plist ...
๐ฑ Installed SwiftGen 6.4.0
๐ฑ Linked swiftgen 6.4.0 to /Users/<redacted>/.mint/bin
I confirm it works with Mint:
I've got error
~ % mint install SwiftGen/SwiftGen
๐ฑ Finding latest version of SwiftGen
๐ฑ Cloning SwiftGen 6.4.0
๐ฑ Resolving package
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
๐ฑ Encountered error during "swift package resolve". Use --verbose to see full output
๐ฑ Failed to resolve SwiftGen 6.4.0 with SPM
@vani2 Do you have Xcode installed?
Yes, I had, but there was no selected CLT in settings. And it has built my project w/o any error though. After selecting, SwiftGen was installed OK. Thanks.
@vani2 Where I can find this CLT settings?
@vani2 Where I can find this CLT settings?

@vani2 thanks a lot!
I'm running into the same issue:
โฏ brew install swiftgen
Error: swiftgen: no bottle available!
You can try to install from source with:
brew install --build-from-source swiftgen
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
For your information, I did brew update (3.1.7) and brew upgrade before trying to install.
I checked in Mint installation and it's working fine on Apple Silicon.
Try:-
To install Mint:- brew install mint
To Install SwiftGen:- sudo mint install SwiftGen/SwiftGen
To manually run the SwiftLint and SwiftGen (navigate to project folder) :- mint run swiftgen
@mudithsilva That's all fine and dandy, but I do not want to use Mint ๐๐ป
Any update on this topic?
Any update on this? It would be great to have this binary released :)
Most helpful comment
@mudithsilva That's all fine and dandy, but I do not want to use Mint ๐๐ป