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

Archived build failed (Catalyst only) with other library used swift-collections #3512

Closed
3 tasks done
marcuswu0814 opened this issue Nov 28, 2024 · 1 comment
Closed
3 tasks done

Comments

@marcuswu0814
Copy link

Description

When archiving the test app, the process works fine for the iOS app but results in a compiler error when archiving for Catalyst.

Issue also opened at MetaCodable, not sure is this cause by macro package.

Checklist

  • I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior

Like archived iOS app, build/archived success

Actual behavior

Build failed, showing error like:

https://github.com/marcuswu0814/MetaCodableArchivedIssue/blob/main/CleanShot%202024-11-28%20at%[email protected]

Reproducing project

https://github.com/marcuswu0814/MetaCodableArchivedIssue

The Composable Architecture version information

1.16.1

Destination operating system

iOS 18

Xcode version information

Xcode 16.2 beta 2 (Also not work with Xcode 16.1)

Swift Compiler version information

swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.4 clang-1600.0.30)
@marcuswu0814 marcuswu0814 added the bug Something isn't working due to a bug in the library. label Nov 28, 2024
@marcuswu0814 marcuswu0814 changed the title Archived build failed with other library used swift-collections Archived build failed (Catalyst only) with other library used swift-collections Nov 28, 2024
@mbrandonw
Copy link
Member

Hi @marcuswu0814, it's not clear to me that this is a TCA-specific problem and not just a problem with Xcode+Catalyst or perhaps even swift-collections. Can you please do some more investigation to provide some evidence that it is definitely something we can even fix in our library?

For the time being I am going to convert this to a discussion. Feel free to continue the conversation over there.

@mbrandonw mbrandonw removed the bug Something isn't working due to a bug in the library. label Dec 9, 2024
@pointfreeco pointfreeco locked and limited conversation to collaborators Dec 9, 2024
@mbrandonw mbrandonw converted this issue into discussion #3525 Dec 9, 2024

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

2 participants