VStack showing error. I'm unable to figure out why

https://github.com/TheCricket/Conduit/blob/main/Shared/View/TrainingView.swift#L77

Here is where the code triggers the error. It shows, Trailing closure passed to parameter of type 'HorizontalAlignment' that does not accept a closure

I've started see these similar error in Xcode 14 BETA.

Trailing closure passed to parameter of type 'HorizontalAlignment' that does not accept a closure

I've resolved it once by wrapping my contents inside a Group {} - SwiftUI block. ... might work...

I get this problem too. I tried using Group{} inside both of the VStacks in my SwiftUI module. But then that resulted in this error message:

The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

on this line:

var body: some View {

I'm creating a Feedback Assistant request for this.

Look at my post. I solved it with some others  https://developer.apple.com/forums/thread/708216

VStack showing error. I'm unable to figure out why
 
 
Q