xchammer icon indicating copy to clipboard operation
xchammer copied to clipboard

Error: 'SwiftInfo' value has no field or method 'swift_version

Open andre-alves opened this issue 4 years ago • 3 comments

Hi :),

SwiftInfo no longer have swift_version since PR: https://github.com/bazelbuild/rules_swift/pull/551

        File "/private/var/tmp/_bazel_andre.alves/0c8bf54092c40cf2f95e2873be89e4d4/external/xchammer/tulsi/tulsi_aspects.bzl", line 911, column 69, in _tulsi_sources_aspect
                transitive_attributes["swift_language_version"] = swift_info.swift_version
Error: 'SwiftInfo' value has no field or method 'swift_version'

I tried to update Tulsi dependency to HEAD but XCHammer is not compiling due to some Swift errors. Not sure what is the plan to update Tulsi since it's a fork. Any plans to update Tulsi dependency?

Thanks.

andre-alves avatar Sep 21 '21 22:09 andre-alves

I'm facing the same error, any ideas how to fix it?

dnlbl avatar Nov 29 '21 10:11 dnlbl

I am also facing the same errors, can anyone advise on how to fix this?

anuragajwani avatar Apr 11 '22 15:04 anuragajwani

this problem seems fixed on XCHammer version v3.4.3.3 however I face other issues though

anuragajwani avatar Apr 11 '22 15:04 anuragajwani