Cannot preview in this file - [App Name].app may have crashed on Xcode 11 Beta 5
问题 The Xcode preview does not work if i add a EnviromentObject property wrapper. Everytime i add one the Canvas doesn't build and i get this error: Cannot preview in this file - [App Name].app may have crashed If i replace the EnviromentObject property wrapper with ObservedObject and initialize it everything works fine. Here's my code: class NetworkManager: ObservableObject { } struct ContentView : View { @EnvironmentObject var networkManager: NetworkManager var body: some View { Text("Canvas