same here
Post
Replies
Boosts
Views
Activity
I have the same issue, but since Xcode 16 my build time has increased by A LOT
I was able to workaround the crash by adding @Sendable in the closure
view.alignmentGuide(VerticalAlignment.center) { @Sendable dimension in
dimension[VerticalAlignment.center]
}
you can also create an extension directly with @Sendable
view.alignmentGuideFixed(VerticalAlignment.center) { dimension in
dimension[VerticalAlignment.center]
}
extension View {
nonisolated func alignmentGuideFixed(
_ alignment: HorizontalAlignment,
computeValue: @escaping @Sendable (ViewDimensions) -> CGFloat
) -> some View {
self.alignmentGuide(alignment, computeValue: computeValue)
}
nonisolated func alignmentGuideFixed(
_ alignment: VerticalAlignment,
computeValue: @escaping @Sendable (ViewDimensions) -> CGFloat
) -> some View {
self.alignmentGuide(alignment, computeValue: computeValue)
}
}