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

Open source builds do not support MacCatalyst target #61418

Closed
mikepinkerton opened this issue Oct 3, 2022 · 2 comments · Fixed by #62712
Closed

Open source builds do not support MacCatalyst target #61418

mikepinkerton opened this issue Oct 3, 2022 · 2 comments · Fixed by #62712
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@mikepinkerton
Copy link

The open source toolchain distributions do not have the appropriate libraries to support the MacCatalyst target.

For example, trying to build a catalyst app using the 5.7 release toolchain downloaded from swift.org results in:

ld64.lld: error: ../../third_party/swift-toolchain/usr/lib/swift/macosx/libswiftCompatibilityConcurrency.a(CompatibilityConcurrency.cpp.o) has platform macOS, which is different from target platform macCatalyst

The above is an excerpt from Chromium's catalyst buildbot: https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8801593085733033281/+/u/compile/raw_io.output_text_failure_summary_

Environment (please fill out the following information)

  • OS: all
  • Xcode Version/Tag/Branch: Xcode14
@mikepinkerton mikepinkerton added the bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. label Oct 3, 2022
@etcwilde etcwilde self-assigned this Dec 20, 2022
@etcwilde
Copy link
Contributor

I'm a little confused by how this ever worked, even before the concurrency/compat libraries.
We don't ship catalyst swiftmodules or zippered libraries in the public toolchains.
There's not really a reason we can't, but I'm not sure how this is a new regression.

@mikepinkerton
Copy link
Author

Thank you!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants