swift-markdown-ui
swift-markdown-ui copied to clipboard
Circular Reference in `enum InlineNode: Hashable` when adding this package to my SwiftUI project
Adding this to my SwiftUI project (min target: iOS 15.0, swift-tool-version: 5.6) immediately produces this error.
same issue
升级到 2.3.1 看看已经关掉的 issue 里
https://github.com/electricsidecar-dev/swift-markdown-ui/commit/f0d1b7fe722e6eda41db2e56f75529956ffa42fa This seems to solve the issue.
Diabling Sendable checking fixes the issue for me.
enum InlineNode: Hashable, @unchecked(Sendable)
See also https://forums.swift.org/t/strange-enum-circular-reference-error-in-xcode-13-3/56721