Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Cannot archive build on Xcode 13 beta 3 #31

Closed
d-date opened this issue Jul 15, 2021 · 5 comments
Closed

Cannot archive build on Xcode 13 beta 3 #31

d-date opened this issue Jul 15, 2021 · 5 comments

Comments

@d-date
Copy link

d-date commented Jul 15, 2021

Describe the bug

When running archive build on Xcode 13 beta 3, the build fail since it depends on Combine.framework built by different compiler version.

Failed to build module 'Combine'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.24.14 clang-1300.0.25.10)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.24.13 clang-1300.0.25.10)'). Please select a toolchain which matches the SDK.

Screenshots
Screen Shot 2021-07-15 at 13 36 50

Environment

  • Xcode 13 beta 3
  • Swift 5.5
@stephencelis
Copy link
Member

Hi @d-date! I'm able to successfully build a project that depends on CombineSchedulers in beta 3. The error message you posted makes it sound like you have a custom toolchain selected in Xcode. Can you check the "Xcode > Toolchains" menu and verify that "Xcode 13.0" is selected?

The only other thing I can think of is maybe you have some stale build products getting in the way. "Product > Clean Build Folder" could help, or you could try fully deleting the Derived Data folder.

@d-date
Copy link
Author

d-date commented Jul 15, 2021

@stephencelis
Did you succeed in the Archive, right?
I'm able to build and run, but archive has failed.

As you say, I checked that Xcode 13 was selected as the toolchain. I also tried a clean build, but didn't change.

Screen Shot 2021-07-15 at 22 56 49

Screen Shot 2021-07-15 at 23 01 03

@kamcma
Copy link

kamcma commented Jul 15, 2021

I am also seeing this error. Although to start I am suspecting beta 3 or maybe something about my workspace configuration more than combine-schedulers per se.

I don't think I have any alternative toolchains installed. (The toolchain items don't even appear in the Xcode menu or Preferences > Components.) Deleted derived data. M1 Mac, if it matters.

@kamcma
Copy link

kamcma commented Jul 15, 2021

@mbrandonw
Copy link
Member

😢 oof, good to know.

I'm going to covert this to a discussion since it's not really a CombineSchedulers issue and so that we can continue sharing information about it.

@pointfreeco pointfreeco locked and limited conversation to collaborators Jul 15, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants