Turns out my issue was related to Symantec WSS Agent. Temporarily disabling this allowed me to regain network access from my Xcode projects.
Post
Replies
Boosts
Views
Activity
Thank you @MihajloMit! This is exactly what I needed. My Xcode 13 wasn't displaying anything in Widget console, so I couldn't troubleshoot my apps. Decided to give Xcode 14 Beta 2 a try, and magically console output started working again, found this error, and stumbled on your extension. Thanks!
Even for macOS? Xcode 13 RC fixes it for me for iPadOS, but mac Catalyst app still has the bug.
How would this work if View1 looked like this:
struct View1: View{
var body: some View{
LazyVGrid(columns: gridLayout, spacing: 10) {
ForEach(Array(person.item! as! Set<Item>).sorted { $0.date! > $1.date! }, id: \.self) { (item: Item) in
NavigationLink(destination: View2(){
Text("Navigate")
}
}
}
}
}
I can't get it to compile properly if the if self.KeepView2 is right before the NavigationLink. And if I put it before the LazyVGrid, it won't display the contents of the ForEach Array. Thanks!
That's disappointing!