yonaskolb / Mint

A package manager that installs and runs executable Swift packages
MIT License
2.3k stars 123 forks source link

Sourcery versioning problem #200

Open evgeniy-ryadovoy opened 3 years ago

evgeniy-ryadovoy commented 3 years ago

When new sourcery package released mint doesn't allow load previous version (for example 1.1.0 or 1.0.9) Xcode 12.4 can't build project. It occurs on Catalina/Big sur. Is it problem with mint or with sourcery versioning? image

Cyberbeni commented 3 years ago

If you are not using the Rakefile to build Sourcery with swift CLI then it will only work if your Swift version matches the currently used lib_InternalSwiftSyntaxParser.dylib's version. https://github.com/krzysztofzablocki/Sourcery/blob/6bd6e2221fe09ffbc19d1b2078bbcde46a972a7f/Package.swift#L223