Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS: Dual version of Swift compiler #630

Open
kassane opened this issue Dec 8, 2023 · 2 comments
Open

MacOS: Dual version of Swift compiler #630

kassane opened this issue Dec 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kassane
Copy link

kassane commented Dec 8, 2023

https://github.com/kassane/CxxInterop-tests/actions/runs/7090390472/job/19297220538#step:4:1

During the setup-swift installation process it is noticed that there is another older version of the Swiftc compiler installed on macos-runner conflicting in the project build through CMake.

https://github.com/kassane/CxxInterop-tests/actions/runs/7090390472/job/19297220538#step:8:114

-- Configuring incomplete, errors occurred!
  Bidirectional C++ Interop requires Swift 5.9 or greater.  Have 5.7.2
@kassane kassane added the bug Something isn't working label Dec 8, 2023
@fwal
Copy link
Collaborator

fwal commented Dec 17, 2023

Hmm, it should've switched the selected version over, haven't tried using cmake though 🤔

Is it still causing issues?

@kassane
Copy link
Author

kassane commented Dec 17, 2023

Yeah!
https://github.com/kassane/CxxInterop-tests/actions/runs/7239698283/job/19721861724#step:8:120

-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- The Swift compiler identification is Apple 5.7.2

Tried add set(CMAKE_Swift_COMPILER_VERSION 5.9) and it didn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants