Getting error while creating an IBAction "Cannot convert value of type 'Float' to expected argument type '[CVarArg]'"

I want to connect a slider to the viewController in my app which I am writing with swift.

As soon as I create an IBAction:

@IBAction func heightSlider(_ sender: UISlider) {}

I immediately get the error message:

"Cannot convert value of type 'Float' to expected argument type '[CVarArg]'".

I have already searched for the solution in the Apple documentation but I can't get rid of the error.

Can someone please help me with this?

Many greetings

FULL CODE: import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    }

    @IBAction func heightSlider(_ sender: UISlider) {
    }
    
    @IBAction func weightSlider(_ sender: UISlider) {
    }
    
}

Screenshot: Cannot convert value of type 'Float' to expected argument type '[CVarArg]'

I am using Xcode Version 13.3 (13E113)

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum