(iOS 17 Public Beta)UIButton with XIB drag is unavailable and freezes the app

The first time I used Xcode to run the app, it could run, but when I clicked the icon of the icon to run it, it got stuck. I found that when I deleted the UIButton that was dragged by XIB, I could start the app, but the button would freeze when clicked.