swiftUI - textfield error expected argument CGRect

a simple code for a textfield in swiftUI

@State private var wTitre:String = "***"

TextField("Entrez votre texte ici", text:$wTitre)
    .textFieldStyle(RoundedBorderTextFieldStyle())

This code works on a projet, but in other one, I have this message, as if textfield waiting for a frame parameter ????

Cannot convert value of type 'String' to expected argument type 'CGRect

a