Swift5 Xcode12.2
Invalid redeclaration of '***' This section describes what to do when the error message "" appears.
I will read this error message written in English. This time it's a relatively short sentence, invalid, redeclaration, of ~ (~) If you connect these, it means that there is an invalid redeclaration for the classes and methods under of. In other words There are two declarations about'***', so you need to combine them into one.
var abc = 0
var abc = 1 //error
var abc = 0
And so on, make one declaration. Check if the same variable and the same method are declared twice somewhere.
Swift compilation error jumble
Recommended Posts