SwiftGen / StencilSwiftKit

A framework bringing additional nodes & filters to Stencil dedicated to Swift code generation
MIT License
289 stars 55 forks source link

Adding spm dependency on StencilSwiftKit causes warning in project, soon to be error #152

Closed jasonbobier closed 1 year ago

jasonbobier commented 1 year ago

I'm getting the following warning:

'stencilswiftkit' dependency on 'https://github.com/stencilproject/Stencil.git' conflicts with dependency on 'https://github.com/kylef/Stencil.git' which has the same identity 'stencil'. this will be escalated to an error in future versions of SwiftPM.

My project is required to build without warnings, so this is preventing the use of SwiftGen. Thanks

yonaskolb commented 1 year ago

Do you have https://github.com/kylef/Stencil.git listed explicitly in your own dependencies? If so, you can update it to the new org which is https://github.com/stencilproject/Stencil.git

djbe commented 1 year ago

As Yonas mentioned, I think you have a dependency on Stencil somewhere else, which is conflicting with the one from SSK. That dependency should be updated to use the new URL for Stencil (has been so for quite a while, ever since it was transferred to a separate organisation).

Closing this as AFAIK it isn't a SSK issue.