When I run this basic code, I get an error in Xcode. My error is as follows. . .
Failed to produce diagnostic for expression; please file a bug report
I don't understand what this means, and I don't know what to do. I also don't know how to contact Apple about the bug Xcode is saying. Can you help me solve this problem?
The error message shown above is displayed on the bracket on line 20.
Failed to produce diagnostic for expression; please file a bug report
I don't understand what this means, and I don't know what to do. I also don't know how to contact Apple about the bug Xcode is saying. Can you help me solve this problem?
The error message shown above is displayed on the bracket on line 20.
Code Block swift struct Gamefile: View { @State var randomNumber = Int.random(in: 1...100) @State var sliderNumber = 1.0 var min = 1 var max = 100 var body: some View { VStack{ Slider(value: $sliderNumber, in: min...max) Button(action: /*@START_MENU_TOKEN@*/{}/*@END_MENU_TOKEN@*/, label: { Text("Tap For Results!") .padding() .fontWeight(.heavy) .font(.title3) .background(Color.yellow) .cornerRadius(30.0) .shadowRadius(5.0) }) } } }