bazelbuild / tulsi

An Xcode Project Generator For Bazel
http://tulsi.bazel.build
Apache License 2.0
548 stars 123 forks source link

Getting "Failed to resolve labels" error on project generation #395

Closed anthonydito closed 1 year ago

anthonydito commented 1 year ago

I am getting this "failed to resolve labels".

However, I am not getting any further instructions about what has gone wrong and I am having quite a hard time getting passed this issue.

It has worked in the past. What has changed is that I have changed what directory my project is on my local machine.

Does anybody know how I can get past this error?

Screenshot 2022-12-28 at 9 31 11 PM
anthonydito commented 1 year ago

Interestingly, it seems that I cannot even generate tusli itself.

I cloned the Tulsi repo and ran it using the script (which worked).

However, trying to generate the tusli project gives me this error

Screenshot 2022-12-31 at 2 38 57 PM
anthonydito commented 1 year ago

This also failed when trying on a new computer.

Tulsi version: Version 0.20220310.88 (0.20220310.88) Bazel version: bazel 6.0.0-homebrew

DavidGoldman commented 1 year ago

I think we need to do something like https://github.com/bazelbuild/intellij/commit/41d1964a6c2871c5458a26c94d667574b3e7c487 since Bazel 6.0 flips --incompatible_unambiguous_label_stringification

anthonydito commented 1 year ago

Can confirm that downgrading my bazel version to 5.4.0 is a workaround for me.