Error: Could not find any information for the class named when connecting IBOutlet
Hello everyone! I'm a beginner in iOS development with Swift, and I've encountered a problem. I'm creating an app using Storyboard. I created a new class `MyCustomViewController` inherited from `UIViewController`. In this class, I declared a property `@IBOutlet weak var myLabel: UILabel!`. After that, I went to Storyboard, selected the controller, and in the Identity Inspector tab, I specified my class name — `MyCustomViewController` — in the Class field. Then I tried to Control-drag from the UILabel to the code to create an outlet. But instead, an error appeared: "Could not insert new outlet connection: Could not find any information for the class named MyCustomViewController". I double-checked that the class name matches in the code and in the storyboard, restarted Xcode, cleaned the project (Clean Build Folder), but the error persists.