Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

I can't compile the sh file successfully #360

Closed
asd26187 opened this issue Sep 26, 2022 · 2 comments
Closed

I can't compile the sh file successfully #360

asd26187 opened this issue Sep 26, 2022 · 2 comments

Comments

@asd26187
Copy link

asd26187 commented Sep 26, 2022

sh build_and_run.sh
ERROR: /private/var/tmp/_bazel_yunxiao/f105df080db21e26596eada1510c89c8/external/local_config_xcode/BUILD:12:13: in xcode_config rule @local_config_xcode//:host_xcodes: --xcode_version=13.2.1 specified, but '13.2.1' is not an available Xcode version. available versions: [13.4.1.13F100]. If you believe you have '13.2.1' installed, try running "bazel shutdown", and then re-run your command.

cat .bazelrc
-- bazelbuild/stardoc#112
common --incompatible_allow_tags_propagation

build --cpu=darwin_x86_64
build --apple_platform_type=macos

-- This is required for re-invoking bazel in shell tests. CI adds it implicitly
test --test_env=HOME

I found no xcode version restriction code,What should I do next?

@thii
Copy link
Member

thii commented Sep 26, 2022

You can change the Xcode version Tulsi should be built for with -x:

sh build_and_run.sh -x 13.4.1

@asd26187
Copy link
Author

asd26187 commented Sep 26, 2022

Yes, following your approach has successfully solved my problem, thx!

@thii thii closed this as completed Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants