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

undefined symbol for type metadata for Foundation.Data._Representation on Linux in Swift 6 when using caching #1030

Open
MahdiBM opened this issue Nov 4, 2024 · 0 comments

Comments

@MahdiBM
Copy link

MahdiBM commented Nov 4, 2024

/root/.mint/packages/github.com_nicklockwood_SwiftFormat/build/0.53.5/swiftformat: symbol lookup error: /root/.mint/packages/github.com_nicklockwood_SwiftFormat/build/0.53.5/swiftformat: undefined symbol: $s10Foundation4DataV15_RepresentationON

(We're using Mint to unify the SwiftFormat version we use.)

echo '$s10Foundation4DataV15_RepresentationON' | swift demangle
type metadata for Foundation.Data._Representation

This happens rather frequently, and AFAIK only happens when we're reusing a .build cache.

Let me know if the problem is not easy to find, and I can try to put something reproducible together.

Environment is swift:6.0-jammy Docker images for Linux, amd64 arch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant